summaryrefslogtreecommitdiff
path: root/.github/workflows/codeql.yaml
diff options
context:
space:
mode:
Diffstat (limited to '.github/workflows/codeql.yaml')
-rw-r--r--.github/workflows/codeql.yaml9
1 files changed, 5 insertions, 4 deletions
diff --git a/.github/workflows/codeql.yaml b/.github/workflows/codeql.yaml
index c8dfaf4..9d82771 100644
--- a/.github/workflows/codeql.yaml
+++ b/.github/workflows/codeql.yaml
@@ -1,14 +1,14 @@
name: CodeQL
on:
- push:
- branches: ["main"]
pull_request:
+ workflow_dispatch:
jobs:
codeql:
name: Run CodeQL scan
- runs-on: "ubuntu-latest"
+
+ runs-on: ubuntu-latest
permissions:
security-events: write
@@ -17,7 +17,8 @@ jobs:
LANGUAGE: "javascript-typescript"
steps:
- - uses: actions/checkout@v4
+ - name: Checkout repository
+ uses: actions/checkout@v4
- name: Initialize CodeQL
uses: github/codeql-action/init@v3