Skip to content

Commit b073959

Browse files
committed
Attempt two and using a centralized workflow for Renovate
1 parent bf74c80 commit b073959

1 file changed

Lines changed: 8 additions & 32 deletions

File tree

.github/workflows/renovate.yaml

Lines changed: 8 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -10,22 +10,15 @@ on:
1010
issues:
1111
types:
1212
- edited
13-
workflow_call:
14-
inputs:
15-
runsOn:
16-
description: Define on which runner this workflow should run
17-
default: "ubuntu-latest"
18-
required: false
19-
type: string
2013

2114
concurrency:
2215
group: 'renovate'
2316
cancel-in-progress: true
2417

2518
jobs:
26-
renovate:
27-
name: Renovate
28-
runs-on: ${{ inputs.runsOn || 'ubuntu-latest' }}
19+
github-app-street-creds:
20+
name: Create Renovate GitHub App Token
21+
runs-on: ubuntu-latest
2922
steps:
3023
- name: Generate Token
3124
uses: actions/create-github-app-token@67018539274d69449ef7c02e8e71183d1719ab42 # v2.1.4
@@ -34,26 +27,9 @@ jobs:
3427
app-id: ${{ secrets.RENOVATE_BOT_CLIENT_ID }}
3528
private-key: ${{ secrets.RENOVATE_BOT_PRIVATE_KEY }}
3629
owner: ${{ github.repository_owner }}
37-
- name: Self-hosted Renovate
38-
uses: renovatebot/github-action@7876d7a812254599d262d62b6b2c2706018258a2 # v43.0.10
30+
- name: Renovate
31+
uses: WyriHaximus/github-workflows/.github/actions/renovate@run-renovate-on-github-actions
3932
with:
40-
token: ${{ steps.app-token.outputs.token }}
41-
mount-docker-socket: true
42-
env:
43-
RENOVATE_ALLOW_PLUGINS: true
44-
RENOVATE_ALLOW_SCRIPTS: true
45-
RENOVATE_ALLOWED_COMMANDS: "[\"git add\"]"
46-
RENOVATE_AUTODISCOVER: true
47-
RENOVATE_BINARY_SOURCE: docker
48-
RENOVATE_POST_UPGRADE_TASKS: "{\"commands\": [\"git add\"], \"fileFilters\": [\"**/*\"], \"executionMode\": \"update\"}"
49-
RENOVATE_DOCKER_CLI_OPTIONS: "-t -e=COMPOSER_IGNORE_PLATFORM_REQS=1"
50-
RENOVATE_DRY_RUN: "null"
51-
RENOVATE_IGNORE_PLUGINS: false
52-
RENOVATE_IGNORE_SCRIPTS: false
53-
RENOVATE_INTERNAL_CHECKS_FILTER: strict
54-
RENOVATE_PLATFORM: github
55-
RENOVATE_PLATFORM_COMMIT: true
56-
RENOVATE_ONBOARDING: false
57-
LOG_LEVEL: info
58-
# LOG_LEVEL: debug
59-
# LOG_FORMAT: json
33+
renovateAppToken: ${{ steps.app-token.outputs.token }}
34+
# logLevel: info
35+
logLevel: debug

0 commit comments

Comments
 (0)