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
65e6c11
commit ccf3d64
Showing
1 changed file
with
8 additions
and
8 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 |
---|---|---|
|
@@ -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: | ||
|
@@ -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] | ||
|
@@ -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 | ||
|