-
Notifications
You must be signed in to change notification settings - Fork 40
51 lines (46 loc) · 1.57 KB
/
renovate.yaml
File metadata and controls
51 lines (46 loc) · 1.57 KB
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
39
40
41
42
43
44
45
46
47
48
49
50
51
---
# yaml-language-server: $schema=https://json.schemastore.org/github-workflow.json
name: Renovate
on:
push:
branches:
- main
paths:
- .renovaterc.json5
- .renovate/**.json5
workflow_dispatch:
jobs:
renovate:
name: Renovate
runs-on: ubuntu-latest
steps:
- name: Generate Token
uses: actions/create-github-app-token@f8d387b68d61c58ab83c6c016672934102569859 # v3.0.0
id: app-token
with:
app-id: ${{ secrets.BOT_APP_ID }}
private-key: ${{ secrets.BOT_APP_PRIVATE_KEY }}
owner: ${{ github.repository_owner }}
- name: Run Renovate
uses: codex-/return-dispatch@2277c7e64ca38a7350b95cfec2d6715ccebb7108 # v3.0.1
id: dispatch
with:
token: ${{ steps.app-token.outputs.token }}
owner: ${{ github.repository_owner }}
repo: .github
ref: main
workflow: renovate.yaml
workflow_inputs: |-
{ "autodiscoverFilter": "${{ github.event.repository.name }}" }
- name: Await Renovate Completion
uses: Codex-/await-remote-run@a56c556e6434d2d7ec9438dc656143b39532324e # v1.13.0
with:
token: ${{ steps.app-token.outputs.token }}
owner: ${{ github.repository_owner }}
repo: .github
run_id: ${{ steps.dispatch.outputs.run_id }}
- name: Renovate Output
env:
GITHUB_TOKEN: ${{ steps.app-token.outputs.token }}
run: |-
gh run view --repo ${{ github.repository_owner }}/.github --log ${{ steps.dispatch.outputs.run_id }}