-
Notifications
You must be signed in to change notification settings - Fork 22
37 lines (33 loc) · 1.15 KB
/
codeql.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
name: 'Run CodeQL'
# Ensures that only one workflow is run per branch at a time.
concurrency:
cancel-in-progress: true
group: ${{ github.workflow }}-${{ github.head_ref || github.ref_name }}
on:
push:
branches: [master, 'release-[0-9]+.[0-9]+']
pull_request:
branches: [master, 'release-[0-9]+.[0-9]+']
schedule:
- cron: '31 11 * * 4'
permissions:
contents: read # for checking out the repository (e.g. actions/checkout)
jobs:
analyze:
name: Run CodeQL
runs-on: ubuntu-latest
permissions:
security-events: write # for adding code alert statuses
strategy:
fail-fast: false
matrix:
language: [javascript]
steps:
- uses: actions/checkout@eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871 # v4.2.1
- uses: github/codeql-action/init@f779452ac5af1c261dce0346a8f964149f49322b # v3.26.13
with:
languages: ${{ matrix.language }}
- uses: github/codeql-action/autobuild@f779452ac5af1c261dce0346a8f964149f49322b # v3.26.13
- uses: github/codeql-action/analyze@f779452ac5af1c261dce0346a8f964149f49322b # v3.26.13
with:
category: '/language:${{matrix.language}}'