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 : " Manual test"
2+
3+ on :
4+ workflow_dispatch :
5+ inputs :
6+ query :
7+ default : " import go\n from File f select f"
8+
9+ jobs :
10+ run-query :
11+ runs-on : ubuntu-latest
12+
13+ steps :
14+ - uses : actions/checkout@v2
15+
16+ # This might not be the cleanest way to get hold of CodeQL but it's reliable
17+ # and widely used. The ugly part is that is initialises a database of the
18+ # given language that we just ignore.
19+ - name : Initialize CodeQL
20+ id : init
21+ uses : github/codeql-action/init@v1
22+ with :
23+ languages : " go"
24+
25+ - name : Run query
26+ uses : ./query
27+ with :
28+ query : ${{ github.event.inputs.query }}
29+ language : " go"
30+ repositories : " [{\" id\" : 376068344, \" nwo\" : \" dsp-testing/qc-demo-github-certstore\" , \" pat\" : \" ${{ secrets.BOT_TOKEN }}\" }]"
31+ codeql : ${{ steps.init.outputs.codeql-path }}
32+
33+ combine-results :
34+ runs-on : ubuntu-latest
35+ needs :
36+ - run-query
37+
38+ steps :
39+ - uses : actions/checkout@v2
40+
41+ - name : Combine results
42+ uses : ./combine-results
43+ with :
44+ query : ${{ github.event.inputs.query }}
45+ language : " go"
46+ token : ${{ secrets.GITHUB_TOKEN }}
You can’t perform that action at this time.
0 commit comments