-
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@f4a75cfd619ee5ce8d5b864b0d183aff3c69b55a # v2.13.1
with:
egress-policy: audit
- name: Checkout
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
- name: Self-hosted Renovate
uses: renovatebot/github-action@f8af9272cd94a4637c29f60dea8731afd3134473 # v43.0.12
with:
token: ${{ secrets.RENOVATE_TOKEN }}
configurationFile: renovate.json
env:
LOG_LEVEL: debug