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@31c86eb3b33c9b601a1f60f98dcbfd1d70f379b4 # v1.10.3
|
|
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@d4cde0ac34e53942ead1619a101748e3ab842937 # v40.2.1
|
|
with:
|
|
configurationFile: .github/configs/renovate-config.js
|
|
# renovate: datasource=docker depName=ghcr.io/renovatebot/renovate
|
|
renovate-version: 37.421.4
|
|
token: '${{ steps.get_token.outputs.token }}'
|
|
env:
|
|
LOG_LEVEL: 'debug'
|
|
RENOVATE_REPOSITORIES: '${{ github.repository }}'
|