diff options
| author | seth <[email protected]> | 2024-10-09 10:59:13 -0400 |
|---|---|---|
| committer | GitHub <[email protected]> | 2024-10-09 10:59:13 -0400 |
| commit | d17bca56238e9ca326d60e58230d0d354f23bfe8 (patch) | |
| tree | 12aee4c37a1490914e6307ce1b0023be2df93105 /.github/workflows/codeql.yaml | |
| parent | 7d6495399d5e1ba429a339de1c3a00f121e89305 (diff) | |
back to astro for hopefully the last time (#146)
Diffstat (limited to '.github/workflows/codeql.yaml')
| -rw-r--r-- | .github/workflows/codeql.yaml | 49 |
1 files changed, 49 insertions, 0 deletions
diff --git a/.github/workflows/codeql.yaml b/.github/workflows/codeql.yaml new file mode 100644 index 0000000..82fb9e6 --- /dev/null +++ b/.github/workflows/codeql.yaml @@ -0,0 +1,49 @@ +name: CodeQL + +on: + push: + branches: [main] + paths: + - "**.ts" + - "package.json" + - "pnpm-lock.yaml" + + - "tsconfig.json" + + - ".github/workflows/codeql.yaml" + pull_request: + paths: + - "**.ts" + - "package.json" + - "pnpm-lock.yaml" + + - "tsconfig.json" + + - ".github/workflows/codeql.yaml" + workflow_dispatch: + +jobs: + codeql: + name: Run scan + + runs-on: ubuntu-latest + + permissions: + security-events: write + + env: + LANGUAGE: "javascript-typescript" + + steps: + - name: Checkout repository + uses: actions/checkout@v4 + + - name: Initialize CodeQL + uses: github/codeql-action/init@v3 + with: + languages: ${{ env.LANGUAGE }} + + - name: Perform CodeQL Analysis + uses: github/codeql-action/analyze@v3 + with: + category: "/language:${{ env.LANGUAGE }}" |
