Skip to content

Commit

Permalink
ci: don't run e2es on PRs from forks
Browse files Browse the repository at this point in the history
  • Loading branch information
kormide committed Jan 9, 2024
1 parent 2decffc commit 414a540
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,10 @@ jobs:

e2e:
runs-on: ubuntu-latest
# Don't run e2es on PRs from forks as it requires access to secrets
# when using `pull_request`.
# See https://securitylab.github.com/research/github-actions-preventing-pwn-requests
if: ${{ github.event.pull_request.head.repo.full_name == 'bazel-contrib/publish-to-bcr' }}
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
Expand Down

0 comments on commit 414a540

Please sign in to comment.