Skip to content

feat(linked-issue): exempt listed pull request authors - #27

Merged
mustermeiszer merged 1 commit into
mainfrom
feat/26-exempt-authors
Nov 19, 2026
Merged

mustermeiszer merged 1 commit into
mainfrom
feat/26-exempt-authors

Conversation

@mustermeiszer

Copy link
Copy Markdown
Contributor

The linked-issue action lets a calling repo list pull request authors that pass without a linked issue; by default only Dependabot does, as before.

Closes #26.
Part of centrifuge/apps-global-epic-and-issues#121.

What

  • actions/linked-issue/action.yml: new input exempt-authors, comma-separated logins, default dependabot[bot], trimmed, matched exactly and case-insensitively. A listed author exits 0 before the GraphQL query. Setting the input replaces the default.
  • README.md: "Exempt authors" under the linked-issue check, with the rule that each exemption is written in the calling repo's workflow.

The first caller is api-v4-gitops, whose deployment app (api-gitops[bot]) opens release pull requests that cannot link an issue.

Checks

  • The action's run block with a stubbed gh: default + dependabot[bot] exits 0 with no gh call; default + api-gitops[bot] reaches the query; " API-gitops[bot] , dependabot[bot] " + api-gitops[bot] exits 0 with no call; empty input reaches the query.
  • Glob and regex characters in the list are compared literally (*, a?c, .* do not match).
  • The only current caller, backend's compliance.yml, sets no input and is pinned to the previous commit: no change for it.

Not verified here

  • actionlint and pinned-actions: run by lib-ci on this pull request.
  • The live exemption: the first api-gitops[bot] pull request after api-v4-gitops pins this commit.
  • ${var,,} needs bash 4+; GitHub's Linux runners have bash 5.

Risk

Door: two-way. Blast radius: internal (a CI check; callers change only when they bump their pin).

Adds the exempt-authors input, a comma-separated list of logins that pass without a linked issue. The default stays dependabot[bot].
@mustermeiszer
mustermeiszer merged commit fbdc5a6 into main Nov 19, 2026
3 checks passed
@mustermeiszer
mustermeiszer deleted the feat/26-exempt-authors branch November 19, 2026 12:07
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.

feat(linked-issue): exempt listed pull request authors

2 participants