Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 4 additions & 2 deletions .github/workflows/release-drafter.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@ on:
push:
branches:
- main
pull_request:
# Fork PRs need a base-repository token to apply labels.
pull_request_target:
types: [opened, reopened, synchronize, edited]

permissions:
Expand All @@ -26,8 +27,9 @@ jobs:
# Apply Conventional-Commit labels from the PR title (PRs only).
# The autolabeler is a separate sub-action; the main action above only drafts
# releases and does not apply labels.
# Keep this privileged job free of PR code checkout or execution.
autolabel:
if: github.event_name == 'pull_request'
if: github.event_name == 'pull_request_target'
runs-on: ubuntu-latest
permissions:
contents: read
Expand Down