Skip to content

Commit

Permalink
Move runner version outside of matrix.yaml
Browse files Browse the repository at this point in the history
Since the runner version is no longer a matrix value, this PR moves it outside of the `matrix.yaml` file.
  • Loading branch information
ajschmidt8 committed Jan 17, 2025
1 parent 93807b1 commit 41751e2
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 8 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,8 @@ jobs:
DRIVER_FLAVOR: ${{ matrix.DRIVER_FLAVOR }}
OS: ${{ matrix.OS }}
RUNNER_ENV: ${{ matrix.ENV }}
RUNNER_VERSION: ${{ matrix.RUNNER_VERSION }}
# renovate: repo=actions/runner
RUNNER_VERSION: "2.321.0"
# The `exec` command is used to help forward signals to the child process.
# This helps ensure Packer's AWS resources get removed when the job is cancelled.
#
Expand Down
4 changes: 0 additions & 4 deletions matrix.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,6 @@ DRIVER_FLAVOR:
- "legacy"
- "open"

RUNNER_VERSION:
# renovate: repo=actions/runner
- "2.321.0"

ARCH:
- amd64
- arm64
Expand Down
10 changes: 7 additions & 3 deletions renovate.json
Original file line number Diff line number Diff line change
@@ -1,14 +1,18 @@
{
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
"branchPrefix": "deps-",
"extends": ["config:base"],
"extends": [
"config:base"
],
"customManagers": [
{
"customType": "regex",
"datasourceTemplate": "github-releases",
"fileMatch": ["^matrix.yaml$"],
"fileMatch": [
"^.github/workflows/build.yaml$"
],
"matchStrings": [
"\\s*#\\s*renovate:\\s*repo=(?<depName>.*?)\\s*-\\s*\"?(?<currentValue>.*?)\"?\\s"
"# renovate: repo=(?<depName>.*?)\\s+\\a+: \"?(?<currentValue>.*?)\"?"
]
}
]
Expand Down

0 comments on commit 41751e2

Please sign in to comment.