Skip to content

Commit

Permalink
chore(ci): prevent running audit action on forks
Browse files Browse the repository at this point in the history
  • Loading branch information
dominikg committed Jul 8, 2024
1 parent 7a43a35 commit a42130f
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/audit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,8 @@ permissions:

jobs:
Audit:
# prevents this action from running on forks
if: github.repository == 'sveltejs/kit'
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
Expand Down

0 comments on commit a42130f

Please sign in to comment.