Skip to content

fix: correct YAML issues in CodeQL workflow#580

Merged
cameri merged 2 commits intoci/add-codeql-workflowfrom
copilot/fix-yaml-issues-codeql-workflow
Apr 25, 2026
Merged

fix: correct YAML issues in CodeQL workflow#580
cameri merged 2 commits intoci/add-codeql-workflowfrom
copilot/fix-yaml-issues-codeql-workflow

Conversation

Copy link
Copy Markdown
Contributor

Copilot AI commented Apr 25, 2026

The CodeQL workflow had several YAML errors: improper inline bracket syntax for branch filters, incorrect indentation for matrix.include items and steps entries, and overly long lines.

Changes

  • Branch filters: replaced [ "main" ] inline bracket notation with YAML list style
  • Matrix indentation: include list items indented to 10 spaces (from 8) to properly nest under include:
  • Steps indentation: step items indented to 6 spaces (from 4) to properly nest under steps:
  • Line length: wrapped long comment lines to ≤80 characters
  • runs-on simplification: removed the swift ternary ((matrix.language == 'swift' && 'macos-latest') || 'ubuntu-latest') — Swift is not in the language matrix, so this always resolved to ubuntu-latest anyway; also eliminates the line-length violation

@changeset-bot
Copy link
Copy Markdown

changeset-bot Bot commented Apr 25, 2026

⚠️ No Changeset found

Latest commit: d304a9b

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@cameri cameri marked this pull request as ready for review April 25, 2026 19:35
@cameri cameri merged commit c414e38 into ci/add-codeql-workflow Apr 25, 2026
7 checks passed
@cameri cameri deleted the copilot/fix-yaml-issues-codeql-workflow branch April 25, 2026 19:35
@coveralls
Copy link
Copy Markdown
Collaborator

Coverage Status

Coverage is 63.509%copilot/fix-yaml-issues-codeql-workflow into ci/add-codeql-workflow. No base build found for ci/add-codeql-workflow.

cameri added a commit that referenced this pull request Apr 25, 2026
* ci: add CodeQL workflow

* fix: correct YAML issues in CodeQL workflow (#580)

Agent-Logs-Url: https://github.com/cameri/nostream/sessions/db5ea1d7-794d-41b1-bd2a-2c2d59800915

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: cameri <378886+cameri@users.noreply.github.com>
Co-authored-by: Ricardo Cabral <me@ricardocabral.io>

---------

Co-authored-by: Copilot <198982749+Copilot@users.noreply.github.com>
Co-authored-by: cameri <378886+cameri@users.noreply.github.com>
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