-
Notifications
You must be signed in to change notification settings - Fork 0
35 lines (33 loc) · 850 Bytes
/
Copy pathrenovate-bot.yaml
File metadata and controls
35 lines (33 loc) · 850 Bytes
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
name: Renovate bot
on:
workflow_dispatch:
schedule:
- cron: "0 13 * * *"
concurrency:
group: ${{ github.workflow }}
cancel-in-progress: true
jobs:
renovate:
runs-on: renovate-${{ github.event.repository.name }}
container:
image: ghcr.io/renovatebot/renovate:43.90.0
permissions:
contents: write
issues: write
pull-requests: write
steps:
- name: Check for updates
env:
RENOVATE_PLATFORM: github
RENOVATE_AUTODISCOVER: false
# RENOVATE_TOKEN: ${{ secrets.GITHUB_TOKEN }} # pass RENOVATE_TOKEN from runner
RENOVATE_CONFIG_FILE: /tmp/renovate.json
run: |
cat > $RENOVATE_CONFIG_FILE <<EOF
{
"repositories": [
"${{ github.repository }}"
]
}
EOF
exec renovate-entrypoint.sh renovate