Skip to content

Add CodeQL analysis workflow configuration#46

Merged
FMI-Test merged 1 commit intostgfrom
FMI-Test-patch-1
Mar 11, 2026
Merged

Add CodeQL analysis workflow configuration#46
FMI-Test merged 1 commit intostgfrom
FMI-Test-patch-1

Conversation

@FMI-Test
Copy link
Copy Markdown
Owner

No description provided.

Copilot AI review requested due to automatic review settings March 11, 2026 16:33
@FMI-Test FMI-Test merged commit 364610f into stg Mar 11, 2026
2 checks passed
@FMI-Test FMI-Test deleted the FMI-Test-patch-1 branch March 11, 2026 16:33
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Adds a GitHub Actions workflow to run CodeQL “Advanced” analysis on the stg branch to enable code scanning.

Changes:

  • Introduces a .github/workflows/codeql.yml workflow for CodeQL scanning.
  • Configures a language matrix (currently Python) and runs CodeQL init/analyze steps.
  • Sets workflow triggers for push, pull_request (both stg), and a weekly cron schedule.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment on lines +46 to +47
- language: python
build-mode: none
Copy link

Copilot AI Mar 11, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

YAML indentation for the matrix.include list is invalid: the - language: python item is at the same indentation level as include:. This will break parsing of the matrix configuration. Indent the list item(s) under include: (and keep build-mode aligned under the list item).

Suggested change
- language: python
build-mode: none
- language: python
build-mode: none

Copilot uses AI. Check for mistakes.
Comment on lines +56 to +58
steps:
- name: Checkout repository
uses: actions/checkout@v4
Copy link

Copilot AI Mar 11, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

YAML indentation for steps is invalid: list items under steps: must be indented beneath it (e.g., steps: then - name: ...). As written, the workflow will fail to load due to malformed YAML. Indent all - name: step entries under steps: consistently.

Copilot uses AI. Check for mistakes.
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.

3 participants