Skip to content

Commit 858df49

Browse files
author
Alvaro Muñoz
committed
Generate yaml file
1 parent a2ed07e commit 858df49

File tree

3 files changed

+12
-2
lines changed

3 files changed

+12
-2
lines changed

.github/action/dist/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28606,7 +28606,7 @@ async function newCodeQL() {
2860628606
return {
2860728607
language: "yaml",
2860828608
path: await findCodeQL(),
28609-
pack: "githubsecuritylab/actions-all",
28609+
pack: "githubsecuritylab/actions-queries",
2861028610
suite: `codeql-suites/${core.getInput("suite") || "actions-code-scanning"}.qls`,
2861128611
source_root: core.getInput("source-root"),
2861228612
output: core.getInput("sarif"),

.github/action/src/codeql.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ export async function newCodeQL(): Promise<CodeQLConfig> {
2424
return {
2525
language: "yaml",
2626
path: await findCodeQL(),
27-
pack: "githubsecuritylab/actions-all",
27+
pack: "githubsecuritylab/actions-queries",
2828
suite: `codeql-suites/${core.getInput("suite") || "actions-code-scanning"}.qls`,
2929
source_root: core.getInput("source-root"),
3030
output: core.getInput("sarif"),

action.yml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,16 @@ runs:
5252
echo "EXTPACK_PATH=./workflow-extpack" >> $GITHUB_ENV
5353
echo "EXTPACK_NAME=local/workflow-models" >> $GITHUB_ENV
5454
55+
- name: Show contents
56+
shell: bash
57+
run: |
58+
echo "Directory contents"
59+
ls -la
60+
echo "Models"
61+
if [ -f workflow-extpack/models.yml ]; then cat workflow-extpack/models.yml; fi
62+
echo "QLPack"
63+
if [ -f workflow-extpack/qlpack.yml ]; then cat workflow-extpack/qlpack.yml; fi
64+
5565
- name: Scan workflows
5666
shell: bash
5767
env:

0 commit comments

Comments
 (0)