Skip to content

Commit 47c0e17

Browse files
committed
add renovate github action
1 parent 8905afa commit 47c0e17

File tree

2 files changed

+32
-0
lines changed

2 files changed

+32
-0
lines changed

.github/renovate.json

+6
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
{
2+
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
3+
"extends": [
4+
"config:base"
5+
]
6+
}

.github/workflows/renovate.yml

+26
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
name: Renovate
2+
on:
3+
schedule:
4+
# The "*" (#42, asterisk) character has special semantics in YAML, so this
5+
# string has to be quoted.
6+
- cron: '15 * * * *'
7+
workflow_dispatch:
8+
9+
jobs:
10+
renovate:
11+
permissions:
12+
contents: write
13+
id-token: write
14+
pull-requests: write
15+
issues: write
16+
runs-on: ubuntu-latest
17+
steps:
18+
- name: Checkout
19+
uses: actions/checkout@v4
20+
21+
- name: Self-hosted Renovate
22+
uses: renovatebot/github-action@v40.1.5
23+
env:
24+
RENOVATE_REPOSITORIES: '["${{ github.repository }}"]'
25+
with:
26+
token: '${{ secrets.GITHUB_TOKEN }}'

0 commit comments

Comments
 (0)