Skip to content

Commit ac31c16

Browse files
committed
fix: grant changelog workflow project permissions
1 parent efc6940 commit ac31c16

3 files changed

Lines changed: 9 additions & 1 deletion

File tree

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
77

88
## [Unreleased]
99

10+
### Fixed
11+
12+
- Grant project-board write permission in the packaged changelog workflow wrapper so consumer release workflows can call the reusable changelog automation without GitHub rejecting the requested permissions (#251)
13+
1014
## [1.22.0] - 2026-04-24
1115

1216
### Added

docs/advanced/branch-protection-and-bot-commits.rst

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -177,7 +177,10 @@ To enable reusable project automation in consumer repositories, pass
177177
``project`` through the thin ``workflow_call`` wrapper or configure the
178178
repository variable ``PROJECT`` so the workflow can resolve the target GitHub
179179
Project without hardcoding repository-specific board identifiers into the
180-
packaged workflow itself. The workflow derives the owner from
180+
packaged workflow itself. Consumer wrappers that call reusable workflows with
181+
project-board release transitions MUST also grant ``repository-projects: write``
182+
at the caller level; otherwise GitHub rejects the workflow before the release
183+
automation starts. The workflow derives the owner from
181184
``github.repository_owner`` and uses the built-in workflow token for the actual
182185
project mutations. Inside ``php-fast-forward`` repositories, the reusable
183186
workflow MAY fall back to the first organization Project V2 when no explicit

resources/github-actions/changelog.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@ on:
3131
permissions:
3232
contents: write
3333
pull-requests: write
34+
repository-projects: write
3435

3536
jobs:
3637
changelog:

0 commit comments

Comments
 (0)