Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,10 @@ on:
- main
workflow_dispatch: # Allow manual triggering

permissions:
contents: read
packages: read
Copy link

Copilot AI Feb 23, 2026

Choose a reason for hiding this comment

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

packages: read grants access to GitHub Packages, but this workflow appears to only install dependencies from Packagist (see composer.json) and uses GITHUB_TOKEN mainly for GitHub API rate limits/checkout. To keep least-privilege, consider removing packages: read unless the workflow actually needs to pull from GitHub Packages/private registries (in which case add a brief note explaining why it’s required).

Suggested change
packages: read

Copilot uses AI. Check for mistakes.

# Cancels all previous workflow runs for the same branch that have not yet completed.
concurrency:
# The concurrency group contains the workflow name and the branch name.
Expand Down