Skip to content

Commit b9340dd

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

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:
@@ -29,20 +30,20 @@ jobs:
2930
fail-fast: false
3031
matrix:
3132
include:
32-
- language: rust
33+
- language: javascript-typescript
3334
build-mode: none
3435

3536
steps:
3637
- name: Checkout
3738
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
3839

3940
- name: Initialize CodeQL
40-
uses: github/codeql-action/init@68bde559dea0fdcac2102bfdf6230c5f70eb485e # 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@68bde559dea0fdcac2102bfdf6230c5f70eb485e # v3.28.1
47+
uses: github/codeql-action/analyze@c6f931105cb2c34c8f901cc885ba1e2e259cf745 # v3
4748
with:
4849
category: "/language:${{ matrix.language }}"

0 commit comments

Comments
 (0)