-
-
Notifications
You must be signed in to change notification settings - Fork 14
36 lines (28 loc) · 1.01 KB
/
validate-renovate-config.yml
File metadata and controls
36 lines (28 loc) · 1.01 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
name: Validate Renovate configuration
on:
pull_request:
paths:
- .github/workflows/validate-renovate-config.yml
- .github/renovate.json5
push:
branches: [main]
concurrency:
group: ${{ github.workflow }}-${{ github.head_ref || github.ref }}
cancel-in-progress: ${{ github.event_name == 'pull_request' }}
permissions: {}
jobs:
validate-renovate-config:
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
with:
persist-credentials: false
- uses: pnpm/action-setup@903f9c1a6ebcba6cf41d87230be49611ac97822e # v6.0.3
with:
version: '10.33.2'
- uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6.4.0
with:
node-version: '24'
# Avoid installing packages that are newer than 1 week old to reduce supply chain attacks probability.
- run: pnpm config set minimumReleaseAge 10080
- run: pnpm --package renovate dlx renovate-config-validator