-
Notifications
You must be signed in to change notification settings - Fork 0
32 lines (30 loc) · 906 Bytes
/
tooling.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
name: Tooling
on:
schedule:
- cron: 0 4 * * *
workflow_dispatch: ~
permissions: read-all
jobs:
tooling:
name: Update
runs-on: ubuntu-24.04
permissions:
contents: write # To push a commit
pull-requests: write # To open a Pull Request
steps:
- name: Checkout repository
uses: actions/checkout@d632683dd7b4114ad314bca15554477dd762a938 # v4.2.0
with:
persist-credentials: false
- name: Create token to create Pull Request
uses: tibdex/github-app-token@3beb63f4bd073e61482598c45c71c1019b59b73a # v2.1.0
id: automation-token
with:
app_id: ${{ secrets.AUTOMATION_ID }}
private_key: ${{ secrets.AUTOMATION_PRIVATE_KEY }}
- name: Update tooling
uses: ./pr
with:
labels: dependencies
max: 2
token: ${{ steps.automation-token.outputs.token }}