Skip to content

Commit

Permalink
Add check to ensure release drafter doesn't run on forks
Browse files Browse the repository at this point in the history
  • Loading branch information
jacobtomlinson committed Apr 19, 2024
1 parent 323e0d1 commit 885752e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/release-drafter.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ permissions:

jobs:
update_release_draft:
if: github.repository == 'dask/dask-kubernetes'
permissions:
# Write permission is required to create a GitHub release
contents: write
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/release-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ permissions:

jobs:
publish_release:
if: github.repository == 'dask/dask-kubernetes'
permissions:
# Write permission is required to publish a GitHub release
contents: write
Expand Down

0 comments on commit 885752e

Please sign in to comment.