Skip to content

Commit

Permalink
ci(renovate): match by depType to skip tests for GitHub Actions updat…
Browse files Browse the repository at this point in the history
…es (#12572)

## Motivation

Missing `ci/skip-test` label when updating
`Kong/public-shared-actions/*` github actions

## Implementation information

This commit fixes an issue where updates to
`Kong/public-shared-actions/*` were not getting the `ci/skip-test`
label. Since these updates are managed by a custom manager instead of
the default `github-actions`, the rule was updated to match by `depType:
action`.

## Supporting documentation

Related: #12529

Signed-off-by: Bart Smykla <[email protected]>
  • Loading branch information
bartsmykla authored Jan 16, 2025
1 parent c726651 commit 3127282
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions renovate.json5
Original file line number Diff line number Diff line change
Expand Up @@ -46,8 +46,10 @@
"matchPackageNames": ["google.golang.org/genproto/googleapis/**"],
},
{
// Skip tests for GitHub Actions updates
"matchManagers": ["github-actions"],
// Skip tests for GitHub Actions updates. We match by depType because
// there isn’t an idiomatic way to target our custom manager, which handles
// Kong/public-shared-actions
"matchDepTypes": ["action"],
"addLabels": ["ci/skip-test"],
},
{
Expand Down

0 comments on commit 3127282

Please sign in to comment.