Skip to content

feat: add a linked-issue composite action - #24

Merged
hieronx merged 1 commit into
mainfrom
feat/linked-issue-action
Nov 11, 2026
Merged

hieronx merged 1 commit into
mainfrom
feat/linked-issue-action

Conversation

@hieronx

@hieronx hieronx commented Nov 11, 2026

Copy link
Copy Markdown
Contributor

Moves the linked-issue check from centrifuge/backend#746 into a composite action here, so any repo can enforce it with a ~20-line caller (example in the README). A PR with no linked issue fails; a closing keyword (Closes #123) or a Development-sidebar link both count; Dependabot is exempt.

Why a composite action, not a reusable workflow: a reusable workflow's check is named <caller> / <job> / <called job>. A composite action runs inside the caller's own job, so the check reads Compliance / Linked issue.

Judgement call: the trigger list and concurrency group live in each caller, not here, since a composite action can't set them. They are three lines of boilerplate; the control itself, including the Dependabot exemption, lives only here.

Consumers stay on their pinned SHA until they bump, so merging this affects nothing by itself. Next: switch backend#746 to a caller pinned to the merge commit.

Fails a PR with no linked issue (closing keyword or Development sidebar),
exempting Dependabot, so any repo can enforce the control with a ~20-line caller.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
@hieronx
hieronx requested a review from gpmayorga as a code owner November 11, 2026 12:21
@hieronx
hieronx merged commit 51db31b into main Nov 11, 2026
3 checks passed
@hieronx
hieronx deleted the feat/linked-issue-action branch November 11, 2026 12:21
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.

1 participant