Skip to content

Add permissions to build-validation workflow#265

Merged
torosent merged 2 commits intomainfrom
copilot/fix-workflow-permissions
Mar 2, 2026
Merged

Add permissions to build-validation workflow#265
torosent merged 2 commits intomainfrom
copilot/fix-workflow-permissions

Conversation

Copy link
Contributor

Copilot AI commented Mar 2, 2026

Issue describing the changes in this PR

Adds explicit permissions: contents: read to build-validation.yml, scoping the GITHUB_TOKEN to least privilege instead of relying on broad defaults.

Pull request checklist

  • My changes do not require documentation changes
    • Otherwise: Documentation issue linked to PR
  • My changes are added to the CHANGELOG.md
  • I have added all required tests (Unit tests, E2E tests)

Additional information

No functional changes. Workflow-only security hardening.


🔒 GitHub Advanced Security automatically protects Copilot coding agent pull requests. You can protect all pull requests by enabling Advanced Security for your repositories. Learn more about Advanced Security.

Co-authored-by: torosent <17064840+torosent@users.noreply.github.com>
Copilot AI changed the title [WIP] Fix workflow to include necessary permissions Add permissions to build-validation workflow Mar 2, 2026
@torosent torosent marked this pull request as ready for review March 2, 2026 04:07
@torosent torosent requested a review from a team as a code owner March 2, 2026 04:07
Copilot AI review requested due to automatic review settings March 2, 2026 04:07
Copy link
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

This PR hardens the repository’s build-validation GitHub Actions workflow by explicitly scoping the default GITHUB_TOKEN permissions to least privilege.

Changes:

  • Add workflow-level permissions: contents: read to avoid relying on broader default GITHUB_TOKEN permissions.

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

@torosent torosent merged commit b446edf into main Mar 2, 2026
12 checks passed
@torosent torosent deleted the copilot/fix-workflow-permissions branch March 2, 2026 19:13
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.

4 participants