Skip to content

Allow release workflow qualification - #65

Merged
stefan-jansen merged 1 commit into
mainfrom
codex/release-workflow-permissions
Sep 9, 2026
Merged

stefan-jansen merged 1 commit into
mainfrom
codex/release-workflow-permissions

Conversation

@stefan-jansen

Copy link
Copy Markdown
Contributor

Closes #64

Summary

  • grant workflow-level contents: read so reusable qualification workflows can start
  • retain narrower job-level write permissions only where publication requires them
  • add a release pipeline contract test for the caller permission

Reproduction

  • release run #34395191496 failed at startup because reusable workflows requested contents: read while the caller allowed contents: none
  • no PyPI 0.1.6 files, tag, or GitHub release were created

Verification

  • uv run pytest tests/test_contract/test_release_pipeline.py -q -n 0 (11 passed)
  • actionlint .github/workflows/release.yml
  • pre-commit run --all-files

Copilot AI lite review requested due to automatic review settings September 9, 2026 19:30

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Copilot was unable to review this pull request because the user who requested the review has reached their quota limit.

@stefan-jansen
stefan-jansen merged commit 0e254d5 into main Sep 9, 2026
40 checks passed
@stefan-jansen
stefan-jansen deleted the codex/release-workflow-permissions branch September 9, 2026 20:45
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.

Allow release workflow to call reusable qualification workflows

2 participants