Skip to content

Conversation

@jmeridth
Copy link
Member

@jmeridth jmeridth commented Jan 29, 2026

Depends on #711

What

Add a new composite action that closes pull requests with a configurable comment message.

Why

Provides a reusable action for workflows that need to automatically close PRs. Example is for public repositories that are read-only (not currently taking or never will take contributions).

Notes

  • Only works in pull_request or pull_request_target triggered workflows
  • Validation fails fast with a clear error if PR_NUMBER is not available from the event context
  • will replace @main in README examples with SHA in quick-follow PR after this merges

## What

Add a new composite action that closes pull requests with a configurable comment message.

## Why

Provides a reusable action for workflows that need to automatically close PRs. Example is
for public repositories that are read-only (not currently taking or never will take contributions).

## Notes

- Only works in pull_request or pull_request_target triggered workflows
- Validation fails fast with a clear error if PR_NUMBER is not available from the event context

Signed-off-by: jmeridth <[email protected]>
@jmeridth jmeridth self-assigned this Jan 29, 2026
@jmeridth jmeridth requested a review from cpanato January 29, 2026 20:34
@jmeridth
Copy link
Member Author

#711 will fix the commit signing checks

@jmeridth jmeridth marked this pull request as draft February 3, 2026 20:34
@jmeridth
Copy link
Member Author

jmeridth commented Feb 3, 2026

Moving to draft so this can be discussed either this week or at the summit. Want to prevent accidental merge.

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