Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 76c4060

Browse files
authored
chore: disable action pinning of our own actions and workflows (#115)
1 parent 99c6357 commit 76c4060

2 files changed

Lines changed: 16 additions & 5 deletions

File tree

renovate-base.json5

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,11 @@
88
// Extend a best-practices base preset
99
// See: https://github.com/mschoettle/renovate-presets#best-practices
1010
"github>mschoettle/renovate-presets//presets/best-practices.json5",
11+
// set timezone to local one to ensure schedules are run
12+
// https://docs.renovatebot.com/configuration-options/#timezone
13+
":timezone(America/Toronto)",
14+
// https://docs.renovatebot.com/presets-customManagers/#custommanagersgithubactionsversions
15+
"customManagers:githubActionsVersions",
1116
],
1217
// https://docs.renovatebot.com/configuration-options/#labels
1318
"labels": ["dependencies"],
@@ -27,5 +32,16 @@
2732
"matchManagers": ["github-actions"],
2833
"matchPackageNames": ["actions/upload-artifact", "actions/download-artifact"],
2934
},
35+
// Disable action pinning for our own actions and workflows
36+
{
37+
"matchDepTypes": [
38+
"action"
39+
],
40+
"pinDigests": false,
41+
"matchPackageNames": [
42+
"opalmedapps/actions",
43+
"opalmedapps/.github",
44+
],
45+
},
3046
],
3147
}

renovate.json5

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,6 @@
66
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
77
"extends": [
88
"github>opalmedapps/.github//renovate-base.json5",
9-
// set timezone to local one to ensure schedules are run
10-
// https://docs.renovatebot.com/configuration-options/#timezone
11-
":timezone(America/Toronto)",
12-
// https://docs.renovatebot.com/presets-customManagers/#custommanagersgithubactionsversions
13-
"customManagers:githubActionsVersions",
149
],
1510
// https://docs.renovatebot.com/configuration-options/#assignees
1611
"assignees": [],

0 commit comments

Comments
 (0)