-
Notifications
You must be signed in to change notification settings - Fork 24
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Bump k6 version using renovate (#745)
* renovate: bump k6 version using renovate * Use grafana/security-internal configuration Following the documentation at https://github.com/grafana/security-internal/blob/main/how-to-configure-renovate.md --------- Signed-off-by: Marcelo E. Magallon <[email protected]> Co-authored-by: Ro Santalla <[email protected]>
- Loading branch information
Showing
2 changed files
with
57 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
{ | ||
"$schema": "https://docs.renovatebot.com/renovate-schema.json", | ||
"extends": [ | ||
"config:best-practices", | ||
":semanticCommitsDisabled" | ||
], | ||
|
||
"branchPrefix": "grafanarenovatebot/", | ||
"username": "GrafanaRenovateBot", | ||
"gitAuthor": "GrafanaRenovateBot <[email protected]>", | ||
"platformCommit": true, | ||
"dependencyDashboard": false, | ||
"platform": "github", | ||
"forkProcessing": "enabled", | ||
"repositories": [ | ||
"grafana/synthetic-monitoring-agent" | ||
], | ||
|
||
"enabledManagers": ["custom.regex"], | ||
"customManagers": [ | ||
{ | ||
"customType": "regex", | ||
"datasourceTemplate": "github-releases", | ||
"depNameTemplate": "grafana/k6", | ||
"fileMatch": [".*\\.mk"], | ||
"matchStrings": [ | ||
"(?:^|\\n)[ \\t]*K6_VERSION\\s*:=\\s*(?<currentValue>\\S+)[ \\t]*(?:$|\\n)" | ||
] | ||
} | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
name: Renovate | ||
on: | ||
schedule: | ||
- cron: '0 */4 * * *' | ||
jobs: | ||
renovate: | ||
permissions: | ||
contents: read | ||
runs-on: ubuntu-latest | ||
timeout-minutes: 5 | ||
steps: | ||
- name: Checkout Code | ||
uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608 # v4.1.0 | ||
- name: Generate token | ||
id: generate-token | ||
uses: tibdex/github-app-token@3beb63f4bd073e61482598c45c71c1019b59b73a #v2.1.0 | ||
with: | ||
revoke: true | ||
app_id: ${{ secrets.RENOVATEGRAFANABOT_ID }} | ||
private_key: ${{ secrets.RENOVATEGRAFANABOT_PEM }} | ||
- name: Self-hosted Renovate | ||
uses: renovatebot/[email protected] #v.39.0.5 | ||
with: | ||
renovate-version: 37.5.3@sha256:613fe86ea2730c062a42bf097a02563e35cb0d8df4fef08d2c4e50b8cd2ccdbc | ||
configurationFile: .github/renovate.json | ||
token: '${{ steps.generate-token.outputs.token }}' |