Skip to content

Commit e6918d1

Browse files
authored
Merge pull request #1346 from github/add-advanced-codeql-workflow
Add advanced CodeQL workflow
2 parents 3cf409c + 24edf7f commit e6918d1

1 file changed

Lines changed: 32 additions & 0 deletions

File tree

.github/workflows/codeql.yml

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
name: CodeQL
2+
3+
on:
4+
push:
5+
branches: [gh-pages]
6+
pull_request:
7+
branches: [gh-pages]
8+
9+
permissions:
10+
contents: read
11+
security-events: write
12+
13+
jobs:
14+
analyze:
15+
name: Analyze ${{ matrix.language }}
16+
runs-on: ubuntu-latest
17+
18+
strategy:
19+
fail-fast: false
20+
matrix:
21+
language: [actions, javascript-typescript, ruby]
22+
23+
steps:
24+
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683
25+
with:
26+
persist-credentials: false
27+
28+
- uses: github/codeql-action/init@8aad20d150bbac5944a9f9d289da16a4b0d87c1e
29+
with:
30+
languages: ${{ matrix.language }}
31+
32+
- uses: github/codeql-action/analyze@8aad20d150bbac5944a9f9d289da16a4b0d87c1e

0 commit comments

Comments
 (0)