Skip to content

Commit 5d2fb93

Browse files
authored
fix: Prevent release workflow on forks (#114)
1 parent 5fc880e commit 5d2fb93

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

.github/workflows/release.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ jobs:
88
release:
99
name: Release master
1010
runs-on: ubuntu-latest
11+
if: github.repository == 'ColinEberhardt/applause-button'
1112
permissions:
1213
contents: write # to publish a GitHub release
1314
issues: write # to comment on released issues

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ Navigate to http://localhost:8081 to view the test page; remember to refresh the
6666

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

7171
## Contributors
7272

0 commit comments

Comments
 (0)