Skip to content

renovate: Fix ignoring gh-aw managed actions - #277

Merged
cgwalters merged 1 commit into
bootc-dev:mainfrom
jeckersb:ignore-gh-aw
Oct 6, 2026
Merged

cgwalters merged 1 commit into
bootc-dev:mainfrom
jeckersb:ignore-gh-aw

Conversation

@jeckersb

@jeckersb jeckersb commented Oct 6, 2026

Copy link
Copy Markdown
Contributor

The rule added in #269 to disable updates in gh-aw managed workflow
files (.github/workflows/*.lock.yml) had no effect: Renovate applies
matching packageRules in order with later rules winning, and the
"GitHub Actions" group rule later in the list sets "enabled": true,
re-enabling those deps. As a result Renovate kept bumping
github/gh-aw-actions in the compiled lock files, e.g.
bootc-dev/bootc#2478 (comment)

Move the rule to the end of packageRules so it takes precedence, and
additionally disable github/gh-aw-actions everywhere, since its
versions are managed by the gh-aw compiler, per
https://github.github.com/gh-aw/reference/dependabot/#compiler-managed-gh-aw-actions-ignore-rule

Verified with a local Renovate dry run against bootc: before this
change gh-aw-actions in *.lock.yml got an update to v0.91.1, after
it they are reported as disabled while other actions still update.

Assisted-by: AI
Signed-off-by: John Eckersberg dev@eckersberg.com

The rule added in bootc-dev#269 to disable updates in gh-aw managed workflow
files (.github/workflows/*.lock.yml) had no effect: Renovate applies
matching packageRules in order with later rules winning, and the
"GitHub Actions" group rule later in the list sets "enabled": true,
re-enabling those deps. As a result Renovate kept bumping
github/gh-aw-actions in the compiled lock files, e.g.
bootc-dev/bootc#2478 (comment)

Move the rule to the end of packageRules so it takes precedence, and
additionally disable github/gh-aw-actions everywhere, since its
versions are managed by the gh-aw compiler, per
https://github.github.com/gh-aw/reference/dependabot/#compiler-managed-gh-aw-actions-ignore-rule

Verified with a local Renovate dry run against bootc: before this
change gh-aw-actions in *.lock.yml got an update to v0.91.1, after
it they are reported as disabled while other actions still update.

Assisted-by: AI
Signed-off-by: John Eckersberg <dev@eckersberg.com>
@cgwalters
cgwalters merged commit 0331d48 into bootc-dev:main Oct 6, 2026
11 checks passed
@jeckersb

jeckersb commented Oct 6, 2026

Copy link
Copy Markdown
Contributor Author

Yay worked on bootc-dev/bootc#2478 🥳

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants