-
Notifications
You must be signed in to change notification settings - Fork 6
Add labeler-dependabot.yml to auto-label Dependabot PRs by update type #81
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Changes from 2 commits
efc0ecb
6b5ef2e
f71a111
90f9e3e
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change | ||||||
|---|---|---|---|---|---|---|---|---|
| @@ -0,0 +1,69 @@ | ||||||||
| name: Labeler - Dependabot | ||||||||
|
|
||||||||
| on: | ||||||||
| pull_request: | ||||||||
| types: | ||||||||
| - opened | ||||||||
| - synchronize | ||||||||
| - reopened | ||||||||
|
|
||||||||
| # Permissions needed to label PRs and create/update labels. | ||||||||
| # security-events: read is required for dependabot/fetch-metadata alert-lookup. | ||||||||
| permissions: | ||||||||
| contents: read | ||||||||
| pull-requests: write | ||||||||
|
||||||||
| pull-requests: write | |
| pull-requests: write | |
| issues: write |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
PR description states the workflow (a) runs on
pull_request“all event types” and (b) follows the documenteddependabot/fetch-metadatapattern, but the workflow currently uses defaultpull_requestevent types and doesn’t calldependabot/fetch-metadata. Either update the workflow to match (e.g., specifytypes:and/or addfetch-metadata) or adjust the PR description to reflect the implemented approach.