.github: disable version updater
Signed-off-by: paulfantom <pawel@krupa.net.pl>
This commit is contained in:
19
.github/workflows/versions.yaml
vendored
19
.github/workflows/versions.yaml
vendored
@@ -1,19 +0,0 @@
|
||||
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() {
|
||||
}
|
||||
|
||||
# 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
|
||||
GITHUB_TOKEN=${GITHUB_TOKEN:-${1}}
|
||||
|
||||
Reference in New Issue
Block a user