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@c1a285145b9d317df6ced56c09f525b5c2b6f755 # v1.11.1
|
|
id: get_token
|
|
with:
|
|
app-id: ${{ vars.RENOVATE_APP_ID }}
|
|
private-key: ${{ secrets.RENOVATE_APP_PRIVATE_KEY }}
|
|
|
|
- name: Checkout
|
|
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
|
|
|
|
- name: Self-hosted Renovate
|
|
uses: renovatebot/github-action@531c6786d6cf05ef148c4cfe251745c2c6de442c # v41.0.9
|
|
with:
|
|
configurationFile: .github/configs/renovate-config.js
|
|
# renovate: datasource=docker depName=ghcr.io/renovatebot/renovate
|
|
renovate-version: 39.86.4
|
|
token: '${{ steps.get_token.outputs.token }}'
|
|
env:
|
|
LOG_LEVEL: 'debug'
|
|
RENOVATE_REPOSITORIES: '${{ github.repository }}'
|