Skip to content

Refactor CodeQL workflow and use correct indentation#1964

Merged
iMicknl merged 1 commit intomainfrom
fix/code_ql_improvements
Mar 30, 2026
Merged

Refactor CodeQL workflow and use correct indentation#1964
iMicknl merged 1 commit intomainfrom
fix/code_ql_improvements

Conversation

@iMicknl
Copy link
Copy Markdown
Owner

@iMicknl iMicknl commented Mar 30, 2026

This pull request updates the CodeQL workflow configuration in .github/workflows/codeql.yml to improve consistency and security permissions. The main changes are related to workflow syntax, permissions, and updating action versions.

Workflow configuration updates:

  • Changed the cron schedule string to use double quotes for consistency.
  • Set runs-on to always use ubuntu-latest, removing the conditional selection for Swift.

Security and permissions:

  • Added explicit contents: read and actions: read permissions for improved security and clarity.

Dependency updates:

  • Updated the actions/checkout action from version v4 to v6 for the repository checkout step.

@iMicknl iMicknl requested a review from tetienne as a code owner March 30, 2026 20:53
Copilot AI review requested due to automatic review settings March 30, 2026 20:53
@github-actions github-actions bot added the bug Something isn't working label Mar 30, 2026
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

Refactors the repository’s CodeQL GitHub Actions workflow to use correct YAML indentation and align the workflow configuration with the rest of the repo’s CI patterns.

Changes:

  • Fixes YAML indentation for the schedule, matrix.include, and steps sections.
  • Simplifies the runner selection to ubuntu-latest (consistent with the current matrix languages).
  • Adds explicit contents: read and actions: read permissions and updates the checkout action version.

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

@iMicknl iMicknl merged commit 0c73800 into main Mar 30, 2026
18 checks passed
@iMicknl iMicknl deleted the fix/code_ql_improvements branch March 30, 2026 20:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants