Skip to content

Feature: automatically expire PRs if CLA remains unsigned for an extended period#2636

Merged
GCHQDeveloper581 merged 2 commits into
gchq:masterfrom
GCHQDeveloper581:feature/automatically-expire-prs-without-signed-cla
Jul 3, 2026
Merged

Feature: automatically expire PRs if CLA remains unsigned for an extended period#2636
GCHQDeveloper581 merged 2 commits into
gchq:masterfrom
GCHQDeveloper581:feature/automatically-expire-prs-without-signed-cla

Conversation

@GCHQDeveloper581

@GCHQDeveloper581 GCHQDeveloper581 commented Jul 3, 2026

Copy link
Copy Markdown
Contributor

Description
Add a workflow that runs periodically and closes PRs where the CLA remains unsigned for an extended period (28 days in total).

This workflow uses the "awaiting cla" label as set/cleared by #2627.

Existing Issue
Closes: #2626
See also PR #2627

AI disclosure
This workflow was initially created using Clause Opus 4.8.

Subsequently checked and neatened by hand. I understand, and accept responsibility for, all the resulting code.

Test Coverage
Please ensure you have added test coverage for your changes.

* use better names for timing env vars
* tie action to commit hash rather than version
* improve wording of comments to be added to PR
Comment thread .github/workflows/cla-close-stale.yml
@GCHQDeveloper581 GCHQDeveloper581 merged commit 3ca7c79 into gchq:master Jul 3, 2026
3 checks passed
@GCHQDeveloper581 GCHQDeveloper581 deleted the feature/automatically-expire-prs-without-signed-cla branch July 3, 2026 15:59
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.

Feature request: Automatically close PRs if CLA remains unsigned for an extended period

3 participants