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 4c995e3
Show file tree
Hide file tree
Showing 2 changed files with 34 additions and 0 deletions.
27 changes: 27 additions & 0 deletions .github/workflows/renovate.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
on:
workflow_call:
inputs:
author:
required: false
type: string
default: "Renovate <[email protected]"
secrets:
token:
required: true
type: string

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
with:
token: "${{ secrets.RENOVATE_TOKEN }}"

0 comments on commit 4c995e3

Please sign in to comment.