Renovate #65
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # THIS FILE IS AUTOMATICALLY GENERATED. DO NOT EDIT. | |
| # Edit https://github.com/cert-manager/makefile-modules/blob/main/modules/repository-base/base/.github/workflows/renovate.yaml instead. | |
| name: Renovate | |
| on: | |
| workflow_dispatch: {} | |
| schedule: | |
| - cron: '0 2 * * *' | |
| permissions: | |
| contents: read | |
| jobs: | |
| renovate: | |
| runs-on: ubuntu-latest | |
| if: github.repository == 'cert-manager/website' | |
| permissions: | |
| id-token: write | |
| steps: | |
| - name: Fail if branch is not head of branch. | |
| if: ${{ !startsWith(github.ref, 'refs/heads/') && env.SOURCE_BRANCH != '' && env.SELF_UPGRADE_BRANCH != '' }} | |
| run: | | |
| echo "This workflow should not be run on a non-branch-head." | |
| exit 1 | |
| - name: Octo STS Token Exchange | |
| uses: octo-sts/action@a26b0c6455c7f13316f29a8766287f939e75f6c8 # v1.0.2 | |
| id: octo-sts | |
| with: | |
| scope: 'cert-manager/website' | |
| identity: renovate | |
| - uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0 | |
| # Adding `fetch-depth: 0` makes sure tags are also fetched. We need | |
| # the tags so `git describe` returns a valid version. | |
| # see https://github.com/actions/checkout/issues/701 for extra info about this option | |
| with: | |
| fetch-depth: 0 | |
| token: ${{ steps.octo-sts.outputs.token }} | |
| - id: go-version | |
| run: | | |
| make print-go-version >> "$GITHUB_OUTPUT" | |
| - uses: actions/setup-go@44694675825211faa026b3c33043df3e48a5fa00 # v6.0.0 | |
| with: | |
| go-version: ${{ steps.go-version.outputs.result }} | |
| - name: Self-hosted Renovate | |
| uses: renovatebot/github-action@70ea19f1b0dc8a9cc7af1b4278f8d3fd9778b577 # v43.0.17 | |
| with: | |
| configurationFile: .github/renovate.json5 | |
| token: ${{ steps.octo-sts.outputs.token }} | |
| env: | |
| RENOVATE_REPOSITORIES: '["${{ github.repository }}"]' | |
| RENOVATE_ONBOARDING: "false" | |
| RENOVATE_PLATFORM: "github" | |
| LOG_LEVEL: "debug" | |
| RENOVATE_ALLOWED_COMMANDS: '[".*"]' |