Skip to content

Commit

Permalink
Part of OpenHistoricalMap/issues#786, adjusting workflow.
Browse files Browse the repository at this point in the history
  • Loading branch information
erictheise committed Jul 11, 2024
1 parent 4c5c8b8 commit 9999ff6
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/ohm.upstream-sync.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,15 @@ jobs:
run:
shell: bash
steps:
- name: Create sacrificial branch
uses: peterjgrainger/[email protected]
with:
branch: 'the-sacrifice'
- name: Check out our repository
uses: actions/checkout@v4
with:
fetch-depth: 0
ref: 'the-sacrifice'
- name: Check out the upstream repository
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
Expand Down
3 changes: 0 additions & 3 deletions scripts/upstream_sync.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,6 @@
# As we enter this script we have created `the-sacrifice` from our `main` branch and
# have `git fetch`ed upstream/master.

git branch -D the-sacrifice &>/dev/null
git checkout -b the-sacrifice

if [ ! -d "upstream" ]; then
mkdir upstream
fi
Expand Down

0 comments on commit 9999ff6

Please sign in to comment.