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@c8f55efbd427e7465d6da1106e7979bc8aaee856 # v1.10.1
|
|
id: get_token
|
|
with:
|
|
app-id: ${{ vars.RENOVATE_APP_ID }}
|
|
private-key: ${{ secrets.RENOVATE_APP_PRIVATE_KEY }}
|
|
|
|
- name: Checkout
|
|
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
|
|
|
|
- name: Self-hosted Renovate
|
|
uses: renovatebot/github-action@21d88b0bf0183abcee15f990011cca090dfc47dd # v40.1.12
|
|
with:
|
|
configurationFile: .github/configs/renovate-config.js
|
|
# renovate: datasource=docker depName=ghcr.io/renovatebot/renovate
|
|
renovate-version: 37.384.0
|
|
token: '${{ steps.get_token.outputs.token }}'
|
|
env:
|
|
LOG_LEVEL: 'debug'
|
|
RENOVATE_REPOSITORIES: '${{ github.repository }}'
|