-
-
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.
Merge pull request #31 from nowsprinting/chore/fix_workflows_for_publ…
…ic_fork Fix skip jobs that cannot be running on fork
- Loading branch information
Showing
6 changed files
with
7 additions
and
3 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
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
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
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
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
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,6 +24,7 @@ concurrency: | |
|
||
jobs: | ||
test: | ||
if: github.event.pull_request.head.repo.fork == false # Skip on public fork, because can not read secrets. | ||
runs-on: ubuntu-latest | ||
permissions: | ||
contents: read | ||
|
@@ -115,10 +116,10 @@ jobs: | |
|
||
notify: | ||
needs: test | ||
if: github.event.pull_request.head.repo.fork == false # Skip on public fork, because can not read secrets. | ||
runs-on: ubuntu-latest | ||
permissions: | ||
actions: read | ||
if: always() | ||
|
||
steps: | ||
- uses: Gamesight/[email protected] | ||
|