File tree 3 files changed +5
-1
lines changed
3 files changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -26,7 +26,7 @@ permissions:
26
26
concurrency :
27
27
group : ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
28
28
cancel-in-progress : ${{ github.event_name == 'pull_request' && !contains(github.event.pull_request.labels.*.name, 'ci:full') }}
29
-
29
+
30
30
jobs :
31
31
analyze :
32
32
name : Analyze
48
48
uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
49
49
with :
50
50
fetch-depth : 2
51
+ persist-credentials : false
51
52
# https://learn.microsoft.com/en-us/dotnet/devops/dotnet-secure-github-action
52
53
# git checkout HEAD^2 is no longer necessary. Please remove this step as Code Scanning recommends analyzing the merge commit for best results.
53
54
# - run: git checkout HEAD^2
Original file line number Diff line number Diff line change 27
27
28
28
- name : ' Checkout Repository'
29
29
uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
30
+ with :
31
+ persist-credentials : false
30
32
- name : ' Dependency Review'
31
33
uses : actions/dependency-review-action@3b139cfc5fae8b618d3eae3675e383bb1769c019 # v4.5.0
Original file line number Diff line number Diff line change 26
26
- uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
27
27
with :
28
28
fetch-depth : 0 # Shallow clones should be disabled for a better relevancy of analysis
29
+ persist-credentials : false
29
30
- name : Cache SonarCloud packages
30
31
uses : actions/cache@6849a6489940f00c2f30c0fb92c6274307ccb58a # v4.1.2
31
32
with :
You can’t perform that action at this time.
0 commit comments