Skip to content

Commit 8cff7ee

Browse files
ci: assign 27Bslash6 on release-please release PRs
release-please's config schema has no assignees/reviewers option, so add a guarded follow-up step: when the release-please action reports a PR via its pr output, assign 27Bslash6 with gh pr edit using the existing app token. No-op when no release PR was created or updated. Co-authored-by: multica-agent <github@multica.ai>
1 parent 3b06f72 commit 8cff7ee

1 file changed

Lines changed: 11 additions & 0 deletions

File tree

‎.github/workflows/release.yml‎

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,17 @@ jobs:
3737
with:
3838
token: ${{ steps.app-token.outputs.token }}
3939

40+
# release-please's config schema has no assignees option, so assign the
41+
# release PR here. outputs.pr is set whenever the release PR was created
42+
# OR updated, so this re-runs on every push to main while a release PR is
43+
# open — adding an already-present assignee is a no-op, so that's safe.
44+
- name: Assign release PR to 27Bslash6
45+
if: ${{ steps.release.outputs.pr }}
46+
run: gh pr edit "$PR_NUMBER" --repo "$GITHUB_REPOSITORY" --add-assignee 27Bslash6
47+
env:
48+
GH_TOKEN: ${{ steps.app-token.outputs.token }}
49+
PR_NUMBER: ${{ fromJson(steps.release.outputs.pr).number }}
50+
4051
publish:
4152
needs: release-please
4253
# Run on an automated release, OR on a manual dispatch — but a manual dispatch

0 commit comments

Comments
 (0)