Skip to content

Add repository CodeQL workflow for JS/TS to restore PR alert delta analysis - #11

Draft
DF791021 with Copilot wants to merge 2 commits into
mainfrom
copilot/fix-codeql-configuration-warning
Draft

Add repository CodeQL workflow for JS/TS to restore PR alert delta analysis#11
DF791021 with Copilot wants to merge 2 commits into
mainfrom
copilot/fix-codeql-configuration-warning

Conversation

Copilot AI commented Aug 22, 2026

Copy link
Copy Markdown
Contributor

This PR adds an explicit CodeQL workflow so the main branch has a stable JavaScript/TypeScript scanning configuration. This addresses the “configuration not found” warning that prevented GitHub from computing PR-introduced code scanning alerts.

  • Workflow definition

    • Add .github/workflows/codeql.yml with a dedicated analyze job for javascript-typescript.
    • Configure security-and-quality query pack.
  • Trigger coverage

    • Run on:
      • push to main
      • pull_request targeting main
      • weekly schedule (0 0 * * 0, Sunday midnight UTC)
  • Action versions

    • Use CodeQL actions pinned to v2 for both initialization and analysis, matching the requested setup.
on:
  push:
    branches: ["main"]
  pull_request:
    branches: ["main"]
  schedule:
    - cron: "0 0 * * 0"

- uses: github/codeql-action/init@v2
  with:
    languages: javascript-typescript
    queries: security-and-quality
- uses: github/codeql-action/analyze@v2

@bolt-new-by-stackblitz

Copy link
Copy Markdown

Review PR in StackBlitz Codeflow Run & review this pull request in StackBlitz Codeflow.

Co-authored-by: DF791021 <122670790+DF791021@users.noreply.github.com>
Copilot AI changed the title [WIP] Fix CodeQL warning by adding workflow configuration Add repository CodeQL workflow for JS/TS to restore PR alert delta analysis Aug 22, 2026
Copilot AI requested a review from DF791021 August 22, 2026 19:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants