summaryrefslogtreecommitdiffstats
path: root/.github/workflows/release-notes.yml
diff options
context:
space:
mode:
Diffstat (limited to '.github/workflows/release-notes.yml')
-rw-r--r--.github/workflows/release-notes.yml8
1 files changed, 8 insertions, 0 deletions
diff --git a/.github/workflows/release-notes.yml b/.github/workflows/release-notes.yml
index babe51a..c92b0b1 100644
--- a/.github/workflows/release-notes.yml
+++ b/.github/workflows/release-notes.yml
@@ -6,9 +6,17 @@ on:
- main
workflow_dispatch:
+permissions:
+ contents: read
+
jobs:
update_release_draft:
+ permissions:
+ # allow release-drafter/release-drafter to create GitHub releases and add labels to PRs
+ contents: write
+ pull-requests: write
runs-on: ubuntu-latest
+ if: github.repository == 'twbs/icons'
steps:
- uses: release-drafter/release-drafter@v5
env: