-
Notifications
You must be signed in to change notification settings - Fork 0
41 lines (40 loc) · 1.39 KB
/
renovate.yml
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
37
38
39
40
41
# ~~ Generated by projen. To modify, edit .projenrc.ts and run "npx projen".
name: upgrade-main
on:
schedule:
- cron: 0 0 * * MON-FRI
workflow_dispatch: {}
push:
branches:
- main
paths:
- renovate.json5
- .github/workflows/renovate.yml
issues:
types:
- edited
pull_request:
types:
- edited
concurrency:
group: ${{ github.workflow }}-${{ github.event_name == 'workflow_dispatch' && github.event_name || '' }}
jobs:
upgrade-main:
runs-on: ubuntu-latest
permissions:
contents: read
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Self-hosted Renovate
uses: renovatebot/[email protected]
if: (github.event_name != 'issues' && github.event_name != 'pull_request') || github.actor != 'cu-infra-svc-git'
with:
configurationFile: renovate.json5
token: x-access-token:${{ secrets.RENOVATEBOT_GITHUB_TOKEN }}
env:
RENOVATE_HOST_RULES: '[{"matchHost":"https://npm.pkg.github.com/","hostType":"npm","token":"${{ secrets.ALL_PACKAGE_READ_TOKEN }}"}]'
RENOVATE_NPMRC: "@${{ github.repository_owner }}:registry=https://npm.pkg.github.com"
RENOVATE_ENABLED_MANAGERS: '["npm"]'
RENOVATE_REPOSITORIES: '["${{ github.repository }}"]'
RENOVATE_FORCE: ${{ github.event_name == 'workflow_dispatch' && '{"schedule":null}' || '' }}