-
Notifications
You must be signed in to change notification settings - Fork 1
50 lines (44 loc) · 1.67 KB
/
Copy pathdependencies.yaml
File metadata and controls
50 lines (44 loc) · 1.67 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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
# Copyright AGNTCY Contributors (https://github.com/agntcy)
# SPDX-License-Identifier: Apache-2.0
---
name: Dependencies
on:
workflow_dispatch:
schedule:
- cron: "0 */6 * * *"
permissions:
contents: read
jobs:
renovate:
name: Renovate Sync
runs-on: ubuntu-latest
steps:
- name: Authenticate with GitHub App Bot
id: app-token
uses: actions/create-github-app-token@bcd2ba49218906704ab6c1aa796996da409d3eb1 # v3.2.0
with:
app-id: ${{ secrets.PROJECT_APP_ID }}
private-key: ${{ secrets.PROJECT_APP_KEY }}
- name: Checkout
uses: actions/checkout@d23441a48e516b6c34aea4fa41551a30e30af803 # v6.1.0
with:
token: ${{ steps.app-token.outputs.token }}
ref: ${{ github.head_ref }}
# Make sure the value of GITHUB_TOKEN will not be persisted in repo's config
persist-credentials: false
- name: Self-hosted Renovate
uses: renovatebot/github-action@e09d604f8f803bb527bd8321ed5be06c460b8682 # v46.2.2
with:
token: ${{ steps.app-token.outputs.token }}
env:
## Discovery
RENOVATE_AUTODISCOVER: "true"
RENOVATE_AUTODISCOVER_FILTER: "${{ github.repository }}"
## Project sync
RENOVATE_PLATFORM: "github"
RENOVATE_PLATFORM_COMMIT: "enabled"
GITHUB_COM_TOKEN: ${{ steps.app-token.outputs.token }}
# Remove unused fields from PR description
RENOVATE_PR_BODY_TEMPLATE: "{{{header}}}{{{table}}}{{{warnings}}}{{{notes}}}{{{changelogs}}}"
RENOVATE_DEPENDENCY_DASHBOARD_HEADER: ""
RENOVATE_DEPENDENCY_DASHBOARD_O_S_V_VULNERABILITY_SUMMARY: "all"