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 ccf3d64 commit 68a2abd
Showing 1 changed file with 9 additions and 8 deletions.
17 changes: 9 additions & 8 deletions .github/workflows/ohm.upstream-sync.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,8 @@ jobs:

- name: List relevant branches & script directories
run: |
git branch --all | egrep 'main|master|sacrifice|candidate'
ls -lR ./scripts
git branch --all | egrep '\/main$|\/master$|sacrifice|candidate'
ls -lR ./scripts/ohm
- name: Delete previous sacrificial branch
run: |
Expand All @@ -37,8 +37,8 @@ jobs:
- name: List relevant branches & script directories
run: |
git branch --all | egrep 'main|master|sacrifice|candidate'
ls -lR ./scripts
git branch --all | egrep '\/main$|\/master$|sacrifice|candidate'
ls -lR ./scripts/ohm
- name: Check out upstream master
env:
Expand All @@ -59,15 +59,16 @@ jobs:

- name: List relevant branches & script directories
run: |
git branch --all | egrep 'main|master|sacrifice|candidate'
ls -lR ./scripts
git branch --all | egrep '\/main$|\/master$|sacrifice|candidate'
ls -lR ./scripts/ohm
- name: Create 'the-sacrifice', our new sacrificial branch
uses: peterjgrainger/[email protected]
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
branch: 'the-sacrifice'
sha: ${{ GITHUB_SHA }}

- name: Check out our new sacrificial branch
uses: actions/checkout@v4
Expand All @@ -79,8 +80,8 @@ jobs:

- name: List relevant branches & script directories
run: |
git branch --all | egrep 'main|master|sacrifice|candidate'
ls -lR ./scripts
git branch --all | egrep '\/main$|\/master$|sacrifice|candidate'
ls -lR ./scripts/ohm
- name: Make our scripts executable
run: chmod +x ./scripts/ohm/*.sh
Expand Down

0 comments on commit 68a2abd

Please sign in to comment.