forked from hotosm/tasking-manager
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Re: OpenHistoricalMap/issues#885, tweaks.
- Loading branch information
1 parent
34ccf97
commit 65e6c11
Showing
1 changed file
with
21 additions
and
18 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -17,6 +17,27 @@ jobs: | |
run: | ||
shell: bash | ||
steps: | ||
- name: Check out our repository | ||
uses: actions/checkout@v4 | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
with: | ||
fetch-depth: 0 | ||
|
||
- name: List all branches | ||
run: | | ||
git branch --all | egrep 'main|master|sacrifice|candidate' | ||
- 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 | ||
run: | | ||
git branch --all | egrep 'main|master|sacrifice|candidate' | ||
- name: Check out upstream master | ||
env: | ||
UPSTREAM: https://github.com/hotosm/tasking-manager | ||
|
@@ -34,28 +55,10 @@ jobs: | |
fetch-depth: 0 | ||
ref: '885-ci-for-tasking-manager' | ||
|
||
- name: List script directories | ||
run: | | ||
ls -lR ./scripts | ||
- name: List all branches | ||
run: | | ||
git branch --all | egrep 'main|master|sacrifice|candidate' | ||
- 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 | ||
# run: | | ||
# git branch --all | egrep 'main|master|sacrifice|candidate' | ||
# | ||
# - name: List all branches | ||
# run: | | ||
# git branch --all | egrep 'main|master|sacrifice|candidate' | ||
|
||
- name: Create 'the-sacrifice', our new sacrificial branch | ||
uses: peterjgrainger/[email protected] | ||
env: | ||
|