File tree Expand file tree Collapse file tree 1 file changed +8
-2
lines changed Expand file tree Collapse file tree 1 file changed +8
-2
lines changed Original file line number Diff line number Diff line change @@ -17,15 +17,21 @@ jobs:
17
17
format-json-yml :
18
18
runs-on : ubuntu-latest
19
19
steps :
20
+ - name : Generate a token
21
+ id : generate_token
22
+
23
+ with :
24
+ app-id : ${{ secrets.PROJECT_AUTOMATION_APP_ID }}
25
+ private-key : ${{ secrets.PROJECT_AUTOMATION_PRIVATE_KEY }}
20
26
21
27
if : github.event_name != 'pull_request' || github.event.action != 'closed'
22
28
with :
23
29
fetch-depth : 0
24
30
ref : ${{ github.event.pull_request.head.sha }}
25
- token : ${{secrets.CREATE_WORKFLOW_CI_TOKEN }}
31
+ token : ${{steps.generate_token.outputs.token }}
26
32
-
uses :
dev-hato/[email protected]
27
33
with :
28
- github-token : ${{secrets.GITHUB_TOKEN }}
34
+ github-token : ${{steps.generate_token.outputs.token }}
29
35
concurrency :
30
36
group : ${{ github.workflow }}-${{ github.event_name }}-${{ github.ref }}
31
37
cancel-in-progress : true
You can’t perform that action at this time.
0 commit comments