Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 11 additions & 0 deletions .github/chainguard/renovate.sts.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
issuer: https://token.actions.githubusercontent.com
subject: repo:cert-manager/sample-external-issuer:ref:refs/heads/main

permissions:
administration: read
contents: write
issues: write
pull_requests: write
security_events: read
statuses: write
workflows: write
6 changes: 6 additions & 0 deletions .github/renovate.json5
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
$schema: 'https://docs.renovatebot.com/renovate-schema.json',
extends: [
'github>cert-manager/renovate-config:default.json5',
],
}
45 changes: 45 additions & 0 deletions .github/workflows/renovate.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
name: Renovate
on:
workflow_dispatch: {}
schedule:
- cron: '0 4 * * *'

permissions:
contents: read

jobs:
renovate:
runs-on: ubuntu-latest

if: github.repository == 'cert-manager/sample-external-issuer'

permissions:
id-token: write

steps:
- name: Octo STS Token Exchange
uses: octo-sts/action@e480437973a6f6ac2e9caa40ecabedc870d76395 # v1.0.1
id: octo-sts
with:
scope: 'cert-manager/sample-external-issuer'
identity: renovate

- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
with:
token: ${{ steps.octo-sts.outputs.token }}

- uses: actions/setup-go@44694675825211faa026b3c33043df3e48a5fa00 # v6.0.0
with:
go-version-file: go.mod

- name: Self-hosted Renovate
uses: renovatebot/github-action@7876d7a812254599d262d62b6b2c2706018258a2 # v43.0.10
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: '[".*"]'