Skip to content

Fix changelog workflow permissions for consumers#252

Merged
coisa merged 2 commits intomainfrom
fix/251-changelog-consumer-permissions
Apr 24, 2026
Merged

Fix changelog workflow permissions for consumers#252
coisa merged 2 commits intomainfrom
fix/251-changelog-consumer-permissions

Conversation

@coisa
Copy link
Copy Markdown
Contributor

@coisa coisa commented Apr 24, 2026

Related Issue

Closes #251

Motivation / Context

  • Consumer repositories can fail release workflow validation when the packaged changelog wrapper calls the reusable DevTools changelog workflow without granting repository-projects: write.
  • This blocked the php-fast-forward/enum release flow before the changelog automation could start.

Changes

  • Grant repository-projects: write in resources/github-actions/changelog.yml so synced consumer wrappers can call the reusable changelog workflow successfully.
  • Document the caller-level permission requirement for project-board release transitions.
  • Add a changelog entry for the consumer workflow permission fix.

Verification

  • composer dev-tools
  • Focused command(s): actionlint resources/github-actions/changelog.yml .github/workflows/changelog.yml
  • Focused command(s): composer dev-tools changelog:check
  • Focused command(s): git diff --check
  • Manual verification: confirmed the packaged wrapper now grants the permission requested by .github/workflows/changelog.yml.

Documentation / Generated Output

  • README updated
  • docs/ updated
  • Generated or synchronized output reviewed

Changelog

  • Added a notable CHANGELOG.md entry

Reviewer Notes

  • This is intentionally the smallest fix for the immediate consumer failure: the reusable workflow already requests repository-projects: write; the synced wrapper now grants the same permission at the caller level.

@github-actions
Copy link
Copy Markdown
Contributor

@coisa coisa merged commit 16e50e7 into main Apr 24, 2026
12 checks passed
@coisa coisa deleted the fix/251-changelog-consumer-permissions branch April 24, 2026 21:52
@github-project-automation github-project-automation Bot moved this from Backlog to Released in PHP Fast Forward Project Apr 24, 2026
github-actions Bot added a commit that referenced this pull request Apr 24, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Released

Development

Successfully merging this pull request may close these issues.

Fix changelog release workflow project permissions for consumers

1 participant