diff --git a/.github/dependabot.yml b/.github/dependabot.yml index 040bd5b..8aac0b0 100644 --- a/.github/dependabot.yml +++ b/.github/dependabot.yml @@ -2,6 +2,9 @@ # as soon as an alert shows up, independently of this schedule. # Dependabot pull requests get no AWS credentials, so the ref-arch E2E test skips them: run it by # hand (Actions → Tests | Integration → Run workflow) before merging one that touches boto3. +# labels: only these. Without the setting, Dependabot also adds the repo's 'major'/'minor'/'patch' +# labels after the dependency's own bump, and release-drafter would resolve the CLI's next version +# from them (a dependency's major is not a major for leverage). version: 2 updates: - package-ecosystem: pip @@ -9,6 +12,7 @@ updates: schedule: interval: weekly open-pull-requests-limit: 5 + labels: [dependencies, python] groups: # Minor and patch updates together, one pull request for each kind of dependency; # major updates come one per pull request @@ -22,6 +26,7 @@ updates: - package-ecosystem: github-actions # The workflows, plus the composite actions under .github/actions directories: ["/", "/.github/actions/*"] + labels: [dependencies, github_actions] schedule: interval: weekly groups: diff --git a/.github/release-drafter.yml b/.github/release-drafter.yml index 4487327..f301b9f 100644 --- a/.github/release-drafter.yml +++ b/.github/release-drafter.yml @@ -27,6 +27,10 @@ categories: labels: - 'chore' - 'maintenance' + - title: '📦 Dependencies' + when: + labels: + - 'dependencies' # The next version is the highest bump among the merged PRs' labels: major, minor or patch. # The autolabeler below sets minor or patch from the PR title. To override it, change the title, or # add 'major'/'breaking', which the autolabeler doesn't manage (it removes its own labels, see below). @@ -60,7 +64,7 @@ autolabeler: - labels: ['documentation', 'patch'] title: - '/^\s*docs?\b/i' - - labels: ['patch'] + - labels: ['maintenance', 'patch'] title: - '/^\s*chore\b/i' change-template: '- $TITLE @$AUTHOR (#$NUMBER)'