Skip to content

Commit 816fdb3

Browse files
committed
ci: add renovate bumping speakeasy CLI version
1 parent 4632656 commit 816fdb3

File tree

3 files changed

+32
-2
lines changed

3 files changed

+32
-2
lines changed

.github/workflows/bump-version.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,7 @@ jobs:
3636
repo: speakeasy
3737
cli_name: speakeasy
3838
package_type: zip
39+
version: 1.455.6 # renovate: datasource=github-releases depName=speakeasy-api/speakeasy
3940

4041
- name: Checkout
4142
uses: actions/checkout@v4

.github/workflows/generate_on_pr.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,7 @@ jobs:
4747
repo: speakeasy
4848
cli_name: speakeasy
4949
package_type: zip
50+
version: 1.455.6 # renovate: datasource=github-releases depName=speakeasy-api/speakeasy
5051

5152
- name: Checkout current repo
5253
uses: actions/checkout@v4

renovate.json

Lines changed: 30 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,16 +3,44 @@
33
"extends": [
44
"config:recommended"
55
],
6+
"enabledManagers": [
7+
"custom.regex",
8+
"gomod"
9+
],
10+
"labels": [
11+
"dependencies"
12+
],
13+
"schedule": "before 5am every weekday",
614
"packageRules": [
715
{
8-
"packagePatterns": ["*"],
16+
"matchManagers": [
17+
"gomod"
18+
],
19+
"matchPackageNames": [
20+
"*"
21+
],
922
"enabled": false
1023
},
1124
{
12-
"packageNames": [
25+
"matchManagers": [
26+
"gomod"
27+
],
28+
"matchPackageNames": [
1329
"github.com/stretchr/testify"
1430
],
1531
"enabled": true
32+
}
33+
],
34+
"customManagers": [
35+
{
36+
"description": "Match dependencies in .github/workflows/.*.yaml that are properly annotated with `# renovate: datasource={} depName={}.`",
37+
"customType": "regex",
38+
"fileMatch": [
39+
"^.github/workflows/.*.yaml$"
40+
],
41+
"matchStrings": [
42+
"(?<currentValue>[0-9.]+?)\\s+#\\s+renovate:\\s+datasource=(?<datasource>.*?)\\s+depName=(?<depName>.*?)\\n"
43+
]
1644
}
1745
]
1846
}

0 commit comments

Comments
 (0)