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
ccf3d64
commit 68a2abd
Showing
1 changed file
with
9 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 |
---|---|---|
|
@@ -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: | | ||
|
@@ -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: | ||
|
@@ -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 | ||
|
@@ -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 | ||
|