Skip to content

Commit a41e26b

Browse files
authored
refactor: renovate workflow configuration
1 parent 10bc8e2 commit a41e26b

File tree

1 file changed

+10
-12
lines changed

1 file changed

+10
-12
lines changed
Lines changed: 10 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,20 @@
11
---
22
# yaml-language-server: $schema=https://json.schemastore.org/github-workflow.json
3-
name: Trigger Renovate
3+
name: Renovate
44

55
on:
66
push:
77
branches:
8-
- "main"
8+
- main
99
paths:
10-
- ".renovaterc.json5"
10+
- .renovaterc.json5
11+
- .renovate/**.json5
1112
workflow_dispatch:
1213

1314
jobs:
14-
trigger:
15-
name: Trigger Renovate run
15+
renovate:
16+
name: Renovate
1617
runs-on: ubuntu-latest
17-
outputs:
18-
changed-files: ${{ steps.changed-files.outputs.changed_files }}
1918
steps:
2019
- name: Generate Token
2120
uses: actions/create-github-app-token@67018539274d69449ef7c02e8e71183d1719ab42 # v2.1.4
@@ -25,9 +24,8 @@ jobs:
2524
private-key: ${{ secrets.BOT_APP_PRIVATE_KEY }}
2625
owner: ${{ github.repository_owner }}
2726

28-
- name: Trigger Renovate run
29-
shell: bash
27+
- name: Run Renovate
3028
env:
31-
GH_TOKEN: ${{ steps.app-token.outputs.token }}
32-
run: >-
33-
gh workflow run --repo home-operations/.github renovate.yaml -F autodiscoverFilter="${{ github.event.repository.name }}"
29+
GITHUB_TOKEN: ${{ steps.app-token.outputs.token }}
30+
run: |-
31+
gh workflow run --repo "${{ github.repository_owner }}/.github" renovate.yaml -F autodiscoverFilter="${{ github.event.repository.name }}"

0 commit comments

Comments
 (0)