File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1- name : Code Scanning - Action
1+ name : " CodeQL "
22
33on :
44 push :
5+ branches :
6+ - master
7+ pull_request :
8+ # The branches below must be a subset of the branches above
9+ branches :
10+ - master
511 schedule :
612 - cron : " 0 0 * * 0"
713
814jobs :
9- CodeQL-Build :
15+ analyze :
16+ name : Analyze
1017 runs-on : ubuntu-latest
1118
1219 steps :
1320 - name : Checkout repository
1421 uses : actions/checkout@v2
22+ with :
23+ # We must fetch at least the immediate parents so that if this is
24+ # a pull request then we can checkout the head.
25+ fetch-depth : 2
26+
27+ # If this run was triggered by a pull request event, then checkout
28+ # the head of the pull request instead of the merge commit.
29+ - run : git checkout HEAD^2
30+ if : ${{ github.event_name == 'pull_request' }}
1531
32+ # Initializes the CodeQL tools for scanning.
1633 - name : Initialize CodeQL
1734 uses : github/codeql-action/init@v1
1835 with :
19- languages : javascript
36+ languages : " javascript"
2037
2138 - name : Autobuild
2239 uses : github/codeql-action/autobuild@v1
You can’t perform that action at this time.
0 commit comments