Skip to content

Instantly share code, notes, and snippets.

@badnetmask
Last active March 5, 2025 22:46
Show Gist options
  • Select an option

  • Save badnetmask/0f866e3213590a820916239c7aed1cab to your computer and use it in GitHub Desktop.

Select an option

Save badnetmask/0f866e3213590a820916239c7aed1cab to your computer and use it in GitHub Desktop.
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