Skip to content

Commit 9c41256

Browse files
committed
ci: redistribute canonical codeql.yml (concurrency-cancel guard) (Refs hyperpolymath/standards#122)
1 parent cbdaace commit 9c41256

1 file changed

Lines changed: 6 additions & 5 deletions

File tree

.github/workflows/codeql.yml

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# SPDX-License-Identifier: PMPL-1.0-or-later
1+
# SPDX-License-Identifier: PMPL-1.0
22
name: CodeQL Security Analysis
33

44
on:
@@ -17,7 +17,8 @@ concurrency:
1717
group: ${{ github.workflow }}-${{ github.ref }}
1818
cancel-in-progress: true
1919

20-
permissions: read-all
20+
permissions:
21+
contents: read
2122

2223
jobs:
2324
analyze:
@@ -34,15 +35,15 @@ jobs:
3435

3536
steps:
3637
- name: Checkout
37-
uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
38+
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
3839

3940
- name: Initialize CodeQL
40-
uses: github/codeql-action/init@cdefb33c0f6224e58673d9004f47f7cb3e328b89 # v3.28.1
41+
uses: github/codeql-action/init@c6f931105cb2c34c8f901cc885ba1e2e259cf745 # v3
4142
with:
4243
languages: ${{ matrix.language }}
4344
build-mode: ${{ matrix.build-mode }}
4445

4546
- name: Perform CodeQL Analysis
46-
uses: github/codeql-action/analyze@cdefb33c0f6224e58673d9004f47f7cb3e328b89 # v3.28.1
47+
uses: github/codeql-action/analyze@c6f931105cb2c34c8f901cc885ba1e2e259cf745 # v3
4748
with:
4849
category: "/language:${{ matrix.language }}"

0 commit comments

Comments
 (0)