-
Notifications
You must be signed in to change notification settings - Fork 0
38 lines (32 loc) · 1.03 KB
/
renovate-dependencies.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
name: Renovate dependencies
on:
schedule:
- cron: '0 */6 * * *'
workflow_dispatch:
jobs:
renovate:
runs-on: ubuntu-latest
steps:
- name: Extract ref
id: extract-ref
run: echo "ref=${GITHUB_HEAD_REF:-${GITHUB_REF#refs/heads/}}" >> $GITHUB_OUTPUT
- name: Checkout code
uses: actions/checkout@v4
with:
ref: ${{ steps.extract-ref.outputs.ref }}
- name: Generate Renovate app token
id: renovate-app-token
uses: tibdex/github-app-token@v2
with:
app_id: ${{ secrets.RENOVATE_APP_ID }}
private_key: ${{ secrets.RENOVATE_APP_PEM }}
repositories: ${{ toJSON(github.repository) }}
- name: Renovate dependencies
uses: renovatebot/[email protected]
with:
token: ${{ steps.renovate-app-token.outputs.token }}
env:
RENOVATE_AUTODISCOVER: true
RENOVATE_AUTODISCOVER_FILTER: ${{ github.repository }}
RENOVATE_AUTOMERGE: true
RENOVATE_PR_HOURLY_LIMIT: 0