Skip to content
Snippets Groups Projects
Unverified Commit 8834c2d5 authored by paulfantom's avatar paulfantom
Browse files

.github: disable version updater


Signed-off-by: default avatarpaulfantom <pawel@krupa.net.pl>
parent e3db1c17
No related branches found
No related tags found
No related merge requests found
name: Sync component versions
on:
schedule:
- cron: '18 8 * * *'
jobs:
versions:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
with:
persist-credentials: false
- uses: actions/setup-go@v2
- uses: romoh/dependencies-autoupdate@v1.1
with:
token: ${{ secrets.GITHUB_TOKEN }}
update-command: "'scripts/generate-versions.sh $token > jsonnet/kube-prometheus/versions.json'"
on-changes-command: "'make --always-make generate'"
...@@ -37,7 +37,7 @@ convert_to_camel_case() { ...@@ -37,7 +37,7 @@ convert_to_camel_case() {
} }
# File is used to read current versions # File is used to read current versions
VERSION_FILE="jsonnet/kube-prometheus/versions.json" VERSION_FILE="$(pwd)/jsonnet/kube-prometheus/versions.json"
# token can be passed as `GITHUB_TOKEN` variable or passed as first argument # token can be passed as `GITHUB_TOKEN` variable or passed as first argument
GITHUB_TOKEN=${GITHUB_TOKEN:-${1}} GITHUB_TOKEN=${GITHUB_TOKEN:-${1}}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment