Renovate as a GitHub Action
- Create a GitHub Personnal Access Token with Repo access and save it in the Repo settings as
RENOVATE_TOKEN
secret
name: renovate
on:
- push
jobs:
run:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
- uses: Djiit/action-renovate@master
with:
args: >
${{ github.repository }}
# --more-args
env:
RENOVATE_TOKEN: ${{ secrets.RENOVATE_TOKEN }}
You can find more args for renovate at https://gist.githubusercontent.com/aslafy-z/fbad0562450385334bf5904a6742b052
Note: Avoid using
master
ref, prefer to pin the last release's SHA ref.