Last active
March 5, 2025 22:46
-
-
Save badnetmask/0f866e3213590a820916239c7aed1cab to your computer and use it in GitHub Desktop.
Supporting material for my blog post: https://mteixeira.wordpress.com/2025/02/16/running-renovate-on-self-hosted-forgejo/
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
| name: Renovate | |
| on: | |
| schedule: | |
| # The "*" (#42, asterisk) character has special semantics in YAML, so this | |
| # string has to be quoted. | |
| - cron: '0/15 * * * *' | |
| jobs: | |
| renovate: | |
| runs-on: catthehacker-arm64 | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v4 | |
| - name: Run self-hosted Renovate | |
| uses: https://github.com/renovatebot/[email protected] | |
| with: | |
| docker-network: host | |
| env-regex: "^(?:RENOVATE_\\w+|LOG_LEVEL|NODE_EXTRA_CA_CERTS)$" | |
| docker-volumes: | | |
| /etc/ssl/certs/ca-certificates.crt:/etc/ssl/certs/ca-certificates.crt:ro ; | |
| /usr/local/share/ca-certificates/homelab-ca.crt:/usr/local/share/ca-certificates/homelab-ca.crt:ro | |
| env: | |
| # LOG_LEVEL: "debug" | |
| DOCKER_HOST: ${{ env.DOCKER_HOST }} | |
| RENOVATE_ENDPOINT: ${{ github.api_url }} | |
| RENOVATE_PLATFORM: "gitea" | |
| RENOVATE_TOKEN: ${{ secrets.RENOVATE_TOKEN }} | |
| RENOVATE_REPOSITORIES: ${{ github.repository }} | |
| RENOVATE_GITHUB_COM_TOKEN: ${{ secrets.RENOVATE_GITHUB_COM_TOKEN }} | |
| NODE_EXTRA_CA_CERTS: "/usr/local/share/ca-certificates/homelab-ca.crt" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment