Skip to content

Commit

Permalink
prevent e2e workflows on forks (#272)
Browse files Browse the repository at this point in the history
Signed-off-by: Brian DeHamer <[email protected]>
  • Loading branch information
bdehamer authored Oct 3, 2024
1 parent e5892d0 commit dff1ae6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/prober-github.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ on:

jobs:
prober:
if: github.repository_owner == 'actions'
permissions:
attestations: write
id-token: write
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/prober-public-good.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ on:

jobs:
prober:
if: github.repository_owner == 'actions'
permissions:
attestations: write
id-token: write
Expand Down

0 comments on commit dff1ae6

Please sign in to comment.