Skip to content

Commit

Permalink
fix: Prevent release workflow on forks (#114)
Browse files Browse the repository at this point in the history
  • Loading branch information
chriswilty authored Oct 11, 2024
1 parent 5fc880e commit 5d2fb93
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ jobs:
release:
name: Release master
runs-on: ubuntu-latest
if: github.repository == 'ColinEberhardt/applause-button'
permissions:
contents: write # to publish a GitHub release
issues: write # to comment on released issues
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ Navigate to http://localhost:8081 to view the test page; remember to refresh the

All releases are created automatically via
[semantic release](https://github.com/semantic-release/semantic-release)
running on Travis.
running as a GitHub workflow.

## Contributors

Expand Down

0 comments on commit 5d2fb93

Please sign in to comment.