Commit acac821 1 parent 6cd7da0 commit acac821 Copy full SHA for acac821
File tree 1 file changed +37
-0
lines changed
1 file changed +37
-0
lines changed Original file line number Diff line number Diff line change
1
+ name : pre-commit-autoupdate
2
+
3
+ on :
4
+ schedule :
5
+ - cron : 0 0 * * *
6
+ workflow_dispatch :
7
+
8
+ jobs :
9
+ check-secret :
10
+ uses : autowarefoundation/autoware-github-actions/.github/workflows/check-secret.yaml@v1
11
+ secrets :
12
+ secret : ${{ secrets.APP_ID }}
13
+
14
+ pre-commit-autoupdate :
15
+ needs : check-secret
16
+ if : ${{ needs.check-secret.outputs.set == 'true' }}
17
+ runs-on : ubuntu-latest
18
+ steps :
19
+ - name : Generate token
20
+ id : generate-token
21
+ uses : tibdex/github-app-token@v2
22
+ with :
23
+ app_id : ${{ secrets.APP_ID }}
24
+ private_key : ${{ secrets.PRIVATE_KEY }}
25
+
26
+ - name : Run pre-commit-autoupdate
27
+ uses : autowarefoundation/autoware-github-actions/pre-commit-autoupdate@v1
28
+ with :
29
+ token : ${{ steps.generate-token.outputs.token }}
30
+ pre-commit-config : .pre-commit-config.yaml
31
+ pr-labels : |
32
+ tag:bot
33
+ tag:pre-commit-autoupdate
34
+ pr-branch : pre-commit-autoupdate
35
+ pr-title : " ci(pre-commit): autoupdate"
36
+ pr-commit-message : " ci(pre-commit): autoupdate"
37
+ auto-merge-method : squash
You can’t perform that action at this time.
0 commit comments