Skip to content

Commit 24ba970

Browse files
committed
feat(renovate-presets): pin GitHub Actions to SHA digests and ignore next tag for angular/dev-infra
Extend the `helpers:pinGitHubActionDigests` Renovate preset in `default.json5` to automatically pin GitHub Actions to immutable commit SHAs with a trailing version comment (e.g. `@<sha> # <sha>` or `@<sha> # <tag>`). Additionally, configure `followTag: null` for `angular/dev-infra` since action references from `angular/dev-infra` do not publish a `next` tag.
1 parent 3019193 commit 24ba970

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

renovate-presets/default.json5

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
$schema: 'https://docs.renovatebot.com/renovate-schema.json',
3-
extends: ['mergeConfidence:all-badges', 'group:monorepos'],
3+
extends: ['mergeConfidence:all-badges', 'group:monorepos', 'helpers:pinGitHubActionDigests'],
44
dependencyDashboard: true,
55
rangeStrategy: 'replace',
66
automerge: false,
@@ -136,10 +136,10 @@
136136
],
137137
},
138138

139-
// @angular/benchpress is not released as 'next'
139+
// @angular/benchpress, @angular/dev-infra and angular/dev-infra are not released as 'next'
140140
{
141141
followTag: null,
142-
matchDepNames: ['@angular/benchpress'],
142+
matchDepNames: ['@angular/benchpress', '@angular/dev-infra', 'angular/dev-infra'],
143143
},
144144

145145
// Disable 'next' tag tracking on non-main branches

0 commit comments

Comments
 (0)