File tree Expand file tree Collapse file tree 1 file changed +41
-0
lines changed
Expand file tree Collapse file tree 1 file changed +41
-0
lines changed Original file line number Diff line number Diff line change 1+ name : Build query list
2+
3+ on :
4+ push :
5+
6+ jobs :
7+ build :
8+
9+ runs-on : ubuntu-latest
10+
11+ steps :
12+ - name : Clone self
13+ uses : actions/checkout@v2
14+ with :
15+ path : codeql
16+ - name : Clone go
17+ run : git clone https://github.com/github/codeql-go
18+ - name : Set up Python 3.8
19+ uses : actions/setup-python@v2
20+ with :
21+ python-version : 3.8
22+ - name : Download CodeQL CLI
23+ uses : dsaltares/fetch-gh-release-asset@master
24+ with :
25+ repo : " github/codeql-cli-binaries"
26+ version : " latest"
27+ file : " codeql-linux64.zip"
28+ token : ${{ secrets.GITHUB_TOKEN }}
29+ - name : Unzip CodeQL CLI
30+ run : unzip -d cli codeql-linux64.zip
31+ - name : ls -R
32+ run : ls -R
33+ - name : Build query list
34+ run : |
35+ python ./codeql/misc/scripts/resolve-code-scanning-query-packs.py > output.csv
36+ - name : Upload query list
37+ uses : actions/upload-artifact@v2
38+ with :
39+ name : query-list
40+ path : output.csv
41+
You can’t perform that action at this time.
0 commit comments