Skip to content

Commit

Permalink
fix: prevent release action from running on forks of the repo (#2464)
Browse files Browse the repository at this point in the history
  • Loading branch information
dominikg committed Sep 20, 2021
1 parent 262f21c commit 7dec53e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@ on:

jobs:
release:
# prevents this action from running on forks
if: github.repository == 'sveltejs/kit'
name: Release
runs-on: ubuntu-latest
steps:
Expand Down

0 comments on commit 7dec53e

Please sign in to comment.