37 lines
1.2 KiB
YAML
37 lines
1.2 KiB
YAML
name: Renovate
|
|
on:
|
|
# The "*" (#42, asterisk) character has special semantics in YAML, so this
|
|
# string has to be quoted.
|
|
schedule:
|
|
- cron: '0 * * * *'
|
|
# Manual trigger is also possible
|
|
workflow_dispatch: {}
|
|
|
|
permissions:
|
|
contents: read
|
|
|
|
jobs:
|
|
renovate:
|
|
if: github.repository == 'argoproj/argo-helm'
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: Get token
|
|
uses: actions/create-github-app-token@a0de6af83968303c8c955486bf9739a57d23c7f1 # v1.10.0
|
|
id: get_token
|
|
with:
|
|
app-id: ${{ vars.RENOVATE_APP_ID }}
|
|
private-key: ${{ secrets.RENOVATE_APP_PRIVATE_KEY }}
|
|
|
|
- name: Checkout
|
|
uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4.1.6
|
|
|
|
- name: Self-hosted Renovate
|
|
uses: renovatebot/github-action@063e0c946b9c1af35ef3450efc44114925d6e8e6 # v40.1.11
|
|
with:
|
|
configurationFile: .github/configs/renovate-config.js
|
|
# renovate: datasource=docker depName=ghcr.io/renovatebot/renovate
|
|
renovate-version: 37.332.0
|
|
token: '${{ steps.get_token.outputs.token }}'
|
|
env:
|
|
LOG_LEVEL: 'debug'
|
|
RENOVATE_REPOSITORIES: '${{ github.repository }}'
|