-
-
Notifications
You must be signed in to change notification settings - Fork 277
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Prevent release-based Github Actions from running on forks (#340)
* Prevent release-based Github Actions from running on forks Since release-based actions currently require @mortbopet's account details, these actions automatically fail when run on forks. These have been prevented in this commit by adding a conditional that runs them only for @mortbopet's repo. This could be expanded in the future so that forks can use their own account info to create releases. * Remove unnecessary conditionals
- Loading branch information
Showing
4 changed files
with
5 additions
and
2 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 |
---|---|---|
|
@@ -7,6 +7,7 @@ on: | |
|
||
jobs: | ||
docker: | ||
if: github.repository == 'mortbopet/Ripes' | ||
runs-on: ubuntu-latest | ||
steps: | ||
- | ||
|
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 |
---|---|---|
|
@@ -7,6 +7,7 @@ on: | |
|
||
jobs: | ||
release-setup: | ||
if: github.repository == 'mortbopet/Ripes' | ||
runs-on: ubuntu-latest | ||
steps: | ||
|
||
|
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 |
---|---|---|
|
@@ -3,7 +3,7 @@ name: Ripes Tests | |
on: | ||
push: | ||
branches: | ||
- '*' | ||
- '**' | ||
pull_request: | ||
|
||
jobs: | ||
|
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