Skip to content

Commit 6f59f40

Browse files
authored
feat(ci): Update QL Action to use reusable workflow
1 parent 2e28a23 commit 6f59f40

File tree

1 file changed

+2
-25
lines changed

1 file changed

+2
-25
lines changed

.github/workflows/ql-for-ql.yml

+2-25
Original file line numberDiff line numberDiff line change
@@ -13,28 +13,5 @@ permissions:
1313

1414
jobs:
1515
ql:
16-
runs-on: ubuntu-latest
17-
18-
steps:
19-
- uses: actions/checkout@v4
20-
21-
- uses: dtolnay/rust-toolchain@nightly
22-
23-
- name: "Build QL-for-QL"
24-
env:
25-
GH_TOKEN: ${{ github.token }}
26-
CODEQL_REPOSITORY_PATH: ${{ runner.temp }}/codeql
27-
run: |
28-
./.github/scripts/ql-build.sh
29-
30-
- name: "Run QL-for-QL"
31-
env:
32-
GH_TOKEN: ${{ github.token }}
33-
CODEQL_REPOSITORY_PATH: ${{ runner.temp }}/codeql
34-
run: |
35-
./.github/scripts/ql-scan.sh
36-
37-
- name: Upload SARIF file
38-
uses: github/codeql-action/upload-sarif@v3
39-
with:
40-
sarif_file: ./ql-for-ql.sarif
16+
uses: advanced-security/reusable-workflows/.github/workflows/codeql-ql.yml@main
17+
secrets: inherit

0 commit comments

Comments
 (0)