-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Description
Is there an existing issue for this?
- I have searched the existing issues
Package ecosystem
github-actions
Package manager version
n/a
Language version
n/a
Manifest location and content before the Dependabot update
n/a
dependabot.yml content
version: 2
updates:
- package-ecosystem: github-actions
directory: /
labels:
- dependencies
- github-actions
schedule:
interval: weeklyUpdated dependency
actions/checkoutactions/download-artifact
What you expected to see, versus what you actually saw
Dependabot PRs for major version bumps (e.g., actions/checkout from 4 to 5) are being opened with a Major label, even though only dependencies and github-actions are specified in the labels config. In my repository, I have pre-existing labels named Major, Minor, and Patch that i use for my own release logic, but I'm not expecting Dependabot to use them unless explicitly listed in labels:.
Expected behavior
Dependabot should only add the labels listed in the labels: array from the configuration file. Semantic version labels like Major, Minor, and Patch should not be added unless specified, regardless of whether labels with those names exist in the repository.
Docs aligning with the expectation:
Actual behavior
Dependabot PRs for major version updates are being opened with the Major label, which is not expected based on the documented behavior.
GitHub Copilot Chat:
https://github.com/copilot/c/7210a339-18dc-41e1-9a93-08b94a751443
Native package manager behavior
n/aw
Images of the diff or a link to the PR, issue, or logs
PSModule/Download-CIArtifact#5
PSModule/Download-CIArtifact#6
Smallest manifest that reproduces the issue
-
Have a repo with pre-existing label named
Major.- Do not add labels for
dependenciesorgithub-actions.
- Do not add labels for
-
Have a workflow file:
on: push jobs: checkout: runs-on: ubuntu-latest steps: - uses: actions/checkout@v4
-
PR this file for
.github/dependabot.yml:version: 2 updates: - package-ecosystem: github-actions directory: / schedule: interval: weekly
Metadata
Metadata
Labels
Type
Projects
Status