mirror of
https://github.com/argoproj/argo-cd.git
synced 2026-02-20 01:28:45 +01:00
Signed-off-by: Patroklos Papapetrou <ppapapetrou76@gmail.com> Co-authored-by: Nitish Kumar <justnitish06@gmail.com>
40 lines
1.2 KiB
YAML
40 lines
1.2 KiB
YAML
name: Renovate
|
|
on:
|
|
schedule:
|
|
- cron: '0 * * * *'
|
|
workflow_dispatch: {}
|
|
|
|
permissions:
|
|
contents: read
|
|
|
|
jobs:
|
|
renovate:
|
|
runs-on: ubuntu-24.04
|
|
if: github.repository == 'argoproj/argo-cd'
|
|
steps:
|
|
- name: Get token
|
|
id: get_token
|
|
uses: actions/create-github-app-token@d72941d797fd3113feb6b93fd0dec494b13a2547 # v1
|
|
with:
|
|
app-id: ${{ vars.RENOVATE_APP_ID }}
|
|
private-key: ${{ secrets.RENOVATE_APP_PRIVATE_KEY }}
|
|
|
|
- name: Checkout
|
|
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # 6.0.2
|
|
|
|
# Some codegen commands require Go to be setup
|
|
- name: Setup Golang
|
|
uses: actions/setup-go@7a3fe6cf4cb3a834922a1244abfce67bcef6a0c5 # v6.2.0
|
|
with:
|
|
# renovate: datasource=golang-version packageName=golang
|
|
go-version: 1.26.0
|
|
|
|
- name: Self-hosted Renovate
|
|
uses: renovatebot/github-action@e23f4d9675532445118c886434f5a34292b630b4 #46.0.2
|
|
with:
|
|
configurationFile: .github/configs/renovate-config.js
|
|
token: '${{ steps.get_token.outputs.token }}'
|
|
env:
|
|
LOG_LEVEL: 'debug'
|
|
RENOVATE_REPOSITORIES: '${{ github.repository }}'
|