Skip to content
This repository was archived by the owner on Apr 8, 2025. It is now read-only.

Commit d3d1ca3

Browse files
committed
fix codeql
Signed-off-by: John O'Loughlin <[email protected]>
1 parent 8e8c249 commit d3d1ca3

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

Diff for: .github/workflows/codeql.yml

+3
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
name: "CodeQL"
22

33
on:
4+
workflow_dispatch:
45
push:
56
branches: [ "main" ]
67
pull_request:
@@ -53,12 +54,14 @@ jobs:
5354
category: "/language:${{ matrix.language }}"
5455

5556
- name: CodeQL and Dependabot Report Action
57+
if: ${{ github.event_name == 'workflow_dispatch' }}
5658
uses: rsdmike/github-security-report-action@a149b24539044c92786ec39af8ba38c93496495d # v3.0.4
5759
with:
5860
template: report
5961
token: ${{ secrets.SECURITY_TOKEN }}
6062

6163
- name: GitHub Upload Release Artifacts
64+
if: ${{ github.event_name == 'workflow_dispatch' }}
6265
uses: actions/upload-artifact@82c141cc518b40d92cc801eee768e7aafc9c2fa2 # v2.3.1
6366
with:
6467
name: report

0 commit comments

Comments
 (0)