Skip to content

Commit

Permalink
add a renovate workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
CubicrootXYZ committed Oct 21, 2024
1 parent 9cc7a18 commit 288320a
Show file tree
Hide file tree
Showing 2 changed files with 33 additions and 0 deletions.
26 changes: 26 additions & 0 deletions .github/workflows/renovate.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
on:
workflow_call:
inputs:
author:
required: false
type: string
default: "Renovate <[email protected]>"
secrets:
token:
required: true

jobs:
renovate:
name: Renovate
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@master
- name: Run Renovate
uses: docker://renovate/renovate:latest
env:
RENOVATE_REPOSITORIES: ${{ github.repository }}
RENOVATE_TOKEN: ${{ secrets.token }}
RENOVATE_AUTOMERGE: "false"
RENOVATE_ONBOARDING: "false"
RENOVATE_GIT_AUTHOR: "${{ inputs.author }}"
7 changes: 7 additions & 0 deletions .github/workflows/renovate_test.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
on: push

jobs:
renovate_test:
uses: ./.github/workflows/renovate.yaml
secrets:
token: "${{ secrets.RENOVATE_TOKEN }}"

0 comments on commit 288320a

Please sign in to comment.