-
Notifications
You must be signed in to change notification settings - Fork 61
36 lines (31 loc) · 1.11 KB
/
renovate_pre_commit_hooks.yml
File metadata and controls
36 lines (31 loc) · 1.11 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: Renovate SW dependencies
on:
schedule:
- cron: "0 0 * * *" # Runs daily at midnight
workflow_dispatch: # Allows manual trigger
push:
paths:
- "renovate.json" # Run when renovate config changes
permissions:
contents: read # Default limited permission
jobs:
renovate:
runs-on: ubuntu-latest
permissions:
contents: write # Job-specific permission for creating branches
pull-requests: write # Job-specific permission for creating PRs
issues: write # for creating dashboard issues
steps:
- name: Harden the runner (Audit all outbound calls)
uses: step-security/harden-runner@fe104658747b27e96e4f7e80cd0a94068e53901d # v2.16.1
with:
egress-policy: audit
- name: Checkout
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
- name: Self-hosted Renovate
uses: renovatebot/github-action@b67590ea780158ccd13192c22a3655a5231f869d # v46.1.8
with:
token: ${{ secrets.RENOVATE_TOKEN }}
configurationFile: renovate.json
env:
LOG_LEVEL: debug