File tree Expand file tree Collapse file tree 9 files changed +17
-6
lines changed Expand file tree Collapse file tree 9 files changed +17
-6
lines changed Original file line number Diff line number Diff line change 42
42
steps :
43
43
- name : Checkout repository
44
44
uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
45
+ with :
46
+ persist-credentials : false
45
47
# Initializes the CodeQL tools for scanning.
46
48
- name : Initialize CodeQL
47
49
uses : github/codeql-action/init@45775bd8235c68ba998cffa5171334d58593da47 # v3
Original file line number Diff line number Diff line change 15
15
runs-on : ubuntu-latest
16
16
steps :
17
17
- uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
18
+ with :
19
+ persist-credentials : false
18
20
- uses : dev-hato/actions-create-release@3fe9e0cb947ce3216562869cef89ff3e193e0649 # v0.0.42
19
21
with :
20
22
github-token : ${{secrets.GITHUB_TOKEN}}
Original file line number Diff line number Diff line change @@ -17,18 +17,18 @@ jobs:
17
17
format-json-yml :
18
18
runs-on : ubuntu-latest
19
19
steps :
20
+ - uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
21
+ if : github.event_name != 'pull_request' || github.event.action != 'closed'
22
+ with :
23
+ fetch-depth : 0
24
+ ref : ${{ github.event.pull_request.head.sha }}
25
+ persist-credentials : false
20
26
- name : Generate a token
21
27
id : generate_token
22
28
uses : actions/create-github-app-token@3ff1caaa28b64c9cc276ce0a02e2ff584f3900c5 # v2.0.2
23
29
with :
24
30
app-id : ${{ secrets.PROJECT_AUTOMATION_APP_ID }}
25
31
private-key : ${{ secrets.PROJECT_AUTOMATION_PRIVATE_KEY }}
26
- - uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
27
- if : github.event_name != 'pull_request' || github.event.action != 'closed'
28
- with :
29
- fetch-depth : 0
30
- ref : ${{ github.event.pull_request.head.sha }}
31
- token : ${{steps.generate_token.outputs.token}}
32
32
- uses : dev-hato/actions-format-json-yml@78a2502c69645dbbd3a56168ddc69065e7ee538c # v0.0.81
33
33
with :
34
34
github-token : ${{steps.generate_token.outputs.token}}
Original file line number Diff line number Diff line change 18
18
runs-on : ubuntu-latest
19
19
steps :
20
20
- uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
21
+ with :
22
+ persist-credentials : false
21
23
- uses : ./
22
24
with :
23
25
github-token : ${{secrets.GITHUB_TOKEN}}
Original file line number Diff line number Diff line change 44
44
# Full git history is needed to get a proper list
45
45
# of changed files within `super-linter`
46
46
fetch-depth : 0
47
+ persist-credentials : false
47
48
- uses : actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4.4.0
48
49
with :
49
50
cache : npm
Original file line number Diff line number Diff line change 21
21
with :
22
22
fetch-depth : 0
23
23
ref : ${{ github.event.pull_request.head.sha || github.sha }}
24
+ persist-credentials : false
24
25
- uses : actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4.4.0
25
26
if : github.event_name != 'pull_request' || github.event.action != 'closed'
26
27
with :
Original file line number Diff line number Diff line change 22
22
with :
23
23
fetch-depth : 0
24
24
ref : ${{ github.event.pull_request.head.sha }}
25
+ persist-credentials : false
25
26
- uses : actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4.4.0
26
27
if : github.event_name != 'pull_request' || github.event.action != 'closed'
27
28
with :
Original file line number Diff line number Diff line change 23
23
with :
24
24
fetch-depth : 0
25
25
ref : ${{ github.event.pull_request.head.sha }}
26
+ persist-credentials : false
26
27
- uses : actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4.4.0
27
28
if : github.event_name != 'pull_request' || github.event.action != 'closed'
28
29
with :
Original file line number Diff line number Diff line change 22
22
with :
23
23
fetch-depth : 0
24
24
ref : ${{ github.event.pull_request.head.sha || github.sha }}
25
+ persist-credentials : false
25
26
- uses : actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4.4.0
26
27
if : github.event_name != 'pull_request' || github.event.action != 'closed'
27
28
with :
You can’t perform that action at this time.
0 commit comments