Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
erictheise committed Sep 13, 2024
1 parent 65e6c11 commit ccf3d64
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions .github/workflows/ohm.upstream-sync.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,19 +24,21 @@ jobs:
with:
fetch-depth: 0

- name: List all branches
- name: List relevant branches & script directories
run: |
git branch --all | egrep 'main|master|sacrifice|candidate'
ls -lR ./scripts
- name: Delete previous sacrificial branch
run: |
if git show-ref --quiet refs/heads/the-sacrifice; then
git branch --remote -D origin/the-sacrifice
fi
- name: List all branches
- name: List relevant branches & script directories
run: |
git branch --all | egrep 'main|master|sacrifice|candidate'
ls -lR ./scripts
- name: Check out upstream master
env:
Expand All @@ -55,9 +57,10 @@ jobs:
fetch-depth: 0
ref: '885-ci-for-tasking-manager'

- name: List all branches
- name: List relevant branches & script directories
run: |
git branch --all | egrep 'main|master|sacrifice|candidate'
ls -lR ./scripts
- name: Create 'the-sacrifice', our new sacrificial branch
uses: peterjgrainger/[email protected]
Expand All @@ -71,15 +74,12 @@ jobs:
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
ref: 'the-sacrifice'
fetch-depth: 0
ref: 'the-sacrifice'

- name: List all branches
- name: List relevant branches & script directories
run: |
git branch --all | egrep 'main|master|sacrifice|candidate'
- name: List script directories
run: |
ls -lR ./scripts
- name: Make our scripts executable
Expand Down

0 comments on commit ccf3d64

Please sign in to comment.