Skip to content

Fix CodeQL workflow: branch filters, empty matrix, and steps indentation - #4

Merged
mo74m3ed merged 2 commits into
copilot/mo74m3ed-resolve-issuefrom
copilot/fix-review-comments
Aug 6, 2026
Merged

Fix CodeQL workflow: branch filters, empty matrix, and steps indentation#4
mo74m3ed merged 2 commits into
copilot/mo74m3ed-resolve-issuefrom
copilot/fix-review-comments

Conversation

Copilot AI commented Aug 6, 2026

Copy link
Copy Markdown
Contributor

The CodeQL workflow was broken in three ways: it only triggered on the feature branch (never main), had an empty matrix causing matrix.language/matrix.build-mode to be undefined, and had steps: mis-indented outside the job block making the YAML structurally invalid.

Changes

  • Branch filters: Changed push/pull_request triggers from copilot/mo74m3ed-resolve-issuemain
  • Matrix: Added an explicit entry to matrix.include with language: actions and build-mode: none, matching the repo's actual content
  • Steps indentation: Re-indented the entire steps: block (and all nested fields) to be properly scoped under the analyze job
matrix:
  include:
    - language: actions
      build-mode: none

steps:
  - name: Checkout repository
    uses: actions/checkout@v7
  ...

…ix steps indentation

Co-authored-by: mo74m3ed <71875716+mo74m3ed@users.noreply.github.com>
@mo74m3ed
mo74m3ed marked this pull request as ready for review August 6, 2026 11:39
Copilot AI lite review requested due to automatic review settings August 6, 2026 11:39
Copilot AI changed the title [WIP] Fix code based on review comments Fix CodeQL workflow: branch filters, empty matrix, and steps indentation Aug 6, 2026
Copilot AI requested a review from mo74m3ed August 6, 2026 11:39
@mo74m3ed
mo74m3ed removed the request for review from Copilot August 6, 2026 11:39
@mo74m3ed mo74m3ed added this to the riimal milestone Aug 6, 2026
@mo74m3ed mo74m3ed added duplicate This issue or pull request already exists and removed duplicate This issue or pull request already exists labels Aug 6, 2026
@mo74m3ed mo74m3ed linked an issue Aug 6, 2026 that may be closed by this pull request
Closed
@mo74m3ed mo74m3ed added the documentation Improvements or additions to documentation label Aug 6, 2026
@mo74m3ed
mo74m3ed merged commit 8f242e3 into copilot/mo74m3ed-resolve-issue Aug 6, 2026
1 check passed
@github-project-automation github-project-automation Bot moved this from Backlog to Done in @mo74m3ed's it Aug 6, 2026
mo74m3ed added a commit that referenced this pull request Aug 7, 2026
…#19)

* Revert "Merge pull request #3 from mo74m3ed/copilot/mo74m3ed-resolve-issue"

* Fix CodeQL workflow: branch filters, empty matrix, and steps indentation (#4)

* Initial plan

* Fix codeql.yml: update branch filters, add actions language matrix, fix steps indentation

Co-authored-by: mo74m3ed <71875716+mo74m3ed@users.noreply.github.com>

---------

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: mo74m3ed <71875716+mo74m3ed@users.noreply.github.com>

* Update issue templates (#11)

* Create CI workflow for copilot/integration branch (#14)

This workflow triggers on push and pull request events for the 'copilot/integration' branch and can be run manually.

* Mo74m3ed patch 1 (#12)

* Fix codeql.yml: update branch filters, add actions language matrix, fix steps indentation (#7)

* Add initial devcontainer configuration file

* Create CI workflow for copilot/integration branch (#18)

This workflow triggers on push and pull request events for the 'copilot/integration' branch and can be run manually.

---------

Co-authored-by: Mohammed alshammari <71875716+mo74m3ed@users.noreply.github.com>
Co-authored-by: Copilot <198982749+Copilot@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Improvements or additions to documentation

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

cli

2 participants