Skip to content

Commit

Permalink
ci: add renovate bumping speakeasy CLI version
Browse files Browse the repository at this point in the history
  • Loading branch information
pmalek committed Dec 17, 2024
1 parent 4632656 commit 816fdb3
Show file tree
Hide file tree
Showing 3 changed files with 32 additions and 2 deletions.
1 change: 1 addition & 0 deletions .github/workflows/bump-version.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ jobs:
repo: speakeasy
cli_name: speakeasy
package_type: zip
version: 1.455.6 # renovate: datasource=github-releases depName=speakeasy-api/speakeasy

- name: Checkout
uses: actions/checkout@v4
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/generate_on_pr.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@ jobs:
repo: speakeasy
cli_name: speakeasy
package_type: zip
version: 1.455.6 # renovate: datasource=github-releases depName=speakeasy-api/speakeasy

- name: Checkout current repo
uses: actions/checkout@v4
Expand Down
32 changes: 30 additions & 2 deletions renovate.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,16 +3,44 @@
"extends": [
"config:recommended"
],
"enabledManagers": [
"custom.regex",
"gomod"
],
"labels": [
"dependencies"
],
"schedule": "before 5am every weekday",
"packageRules": [
{
"packagePatterns": ["*"],
"matchManagers": [
"gomod"
],
"matchPackageNames": [
"*"
],
"enabled": false
},
{
"packageNames": [
"matchManagers": [
"gomod"
],
"matchPackageNames": [
"github.com/stretchr/testify"
],
"enabled": true
}
],
"customManagers": [
{
"description": "Match dependencies in .github/workflows/.*.yaml that are properly annotated with `# renovate: datasource={} depName={}.`",
"customType": "regex",
"fileMatch": [
"^.github/workflows/.*.yaml$"
],
"matchStrings": [
"(?<currentValue>[0-9.]+?)\\s+#\\s+renovate:\\s+datasource=(?<datasource>.*?)\\s+depName=(?<depName>.*?)\\n"
]
}
]
}

0 comments on commit 816fdb3

Please sign in to comment.