Skip to content

Merge pull request #14 from dafyddj/copier-renovate/dafyddj-copier-bo… #12

Merge pull request #14 from dafyddj/copier-renovate/dafyddj-copier-bo…

Merge pull request #14 from dafyddj/copier-renovate/dafyddj-copier-bo… #12

Workflow file for this run

---
name: Renovate
on:
push:
branches:
- '**'
paths:
- .copier-answers.yml
workflow_dispatch:
jobs:
renovate:
name: Run self-hosted
if: github.ref == format('refs/heads/{0}', github.event.repository.default_branch)
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
- uses: actions/create-github-app-token@c8f55efbd427e7465d6da1106e7979bc8aaee856 # v1.10.1
id: app-token
with:
app-id: ${{ vars.APP_ID }}
private-key: ${{ secrets.PRIVATE_KEY }}
- name: Self-hosted Renovate
uses: renovatebot/github-action@21d88b0bf0183abcee15f990011cca090dfc47dd # v40.1.12
with:
configurationFile: .github/copier-renovate.json5
docker-cmd-file: .github/entrypoint.sh
docker-user: root
token: ${{ steps.app-token.outputs.token }}
env:
LOG_LEVEL: debug
RENOVATE_DRY_RUN: ${{ github.ref != format('refs/heads/{0}', github.event.repository.default_branch) }}
RENOVATE_REPOSITORIES: ${{ github.repository }}