Skip to content

Commit

Permalink
Update release-drafter.yml to add PR events for autolabeler (#41)
Browse files Browse the repository at this point in the history
  • Loading branch information
shenxianpeng authored Mar 7, 2024
1 parent 2f028bb commit 196fc05
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .github/workflows/release-drafter.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,13 @@ on:
push:
branches:
- "main"
# pull_request event is required only for autolabeler
pull_request:
# Only following types are handled by the action, but one can default to all as well
types: [opened, reopened, synchronize]
# pull_request_target event is required for autolabeler to support PRs from forks
pull_request_target:
types: [opened, reopened, synchronize]
workflow_dispatch:

jobs:
Expand Down

0 comments on commit 196fc05

Please sign in to comment.