Skip to content

chore(workflows): drop write scope from full-integration-tests#369

Merged
mage-os-ci merged 1 commit into
mage-os:mainfrom
rhoerr:fix/full-integration-tests-permissions
May 16, 2026
Merged

chore(workflows): drop write scope from full-integration-tests#369
mage-os-ci merged 1 commit into
mage-os:mainfrom
rhoerr:fix/full-integration-tests-permissions

Conversation

@rhoerr
Copy link
Copy Markdown
Contributor

@rhoerr rhoerr commented May 16, 2026

Summary

  • full-integration-tests.yaml only checks out code and runs tests — no commits, tags, releases, or asset uploads — so contents: write is unnecessary.
  • This is a workflow_call reusable workflow, so the elevated scope also constrained callers' tokens to be granted write scope.
  • Dropped to contents: read, which is sufficient for actions/checkout@v4.

Test plan

  • Trigger the workflow (via a caller workflow or PR) and confirm checkout + matrix calculation + integration tests all still pass under the reduced scope.

🤖 Generated with Claude Code

The workflow only checks out code and runs tests; nothing pushes
commits, tags, or releases. As a reusable workflow_call, the
elevated scope also propagated to callers' tokens.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
@rhoerr rhoerr requested a review from a team as a code owner May 16, 2026 03:36
@mage-os-ci mage-os-ci merged commit dcb0e5b into mage-os:main May 16, 2026
1 check passed
@rhoerr rhoerr deleted the fix/full-integration-tests-permissions branch May 16, 2026 03:42
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.

2 participants