Skip to content

Comments

maint: Add stale github action#4220

Open
MikeGoldsmith wants to merge 11 commits intoopen-telemetry:mainfrom
honeycombio:mike/add-stale-gha
Open

maint: Add stale github action#4220
MikeGoldsmith wants to merge 11 commits intoopen-telemetry:mainfrom
honeycombio:mike/add-stale-gha

Conversation

@MikeGoldsmith
Copy link
Member

@MikeGoldsmith MikeGoldsmith commented Feb 19, 2026

Description

Adds a GitHub Action to automatically mark stale PRs and close them after inactivity, adapted from the opentelemetry-java workflow.

  • PRs with no activity for 14 days are marked stale by
    • by adding a stale comment from configuration
    • adding the "Stale" label
  • Stale PRs with no activity for a further 14 days are closed and add the close comment
  • PRs with an exempt label are ignored
  • Added section to CONTRIBUTING.md
  • Issues are not affected

Type of change

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • This change requires a documentation update

How Has This Been Tested?

CI-only change, no code tests applicable.

Does This PR Require a Contrib Repo Change?

  • Yes. - Link to PR:
  • No.

Checklist:

  • Followed the style guidelines of this project
  • Changelogs have been updated
  • Unit tests have been added
  • Documentation has been updated

@MikeGoldsmith MikeGoldsmith requested a review from a team as a code owner February 19, 2026 17:51
Copy link
Member

@emdneto emdneto left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

do you know if this can add a label stale to the PRs? might be helpful

@MikeGoldsmith
Copy link
Member Author

do you know if this can add a label stale to the PRs? might be helpful

Good idea, and after checking, the action does this automatically too. I'll update the description to say it does it.

@tammy-baylis-swi
Copy link
Contributor

Thanks again @MikeGoldsmith !

Could we also have a quick, generalized explanation under CONTRIBUTING Pull Requests section.

+1 to getting xrmx's opinion on 14+14.

@MikeGoldsmith
Copy link
Member Author

Thanks again @MikeGoldsmith !

Could we also have a quick, generalized explanation under CONTRIBUTING Pull Requests section.

+1 to getting xrmx's opinion on 14+14.

Updated CONTRIBUTING.md in c6378c5

Copy link
Contributor

@xrmx xrmx left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm not a fan of this kind of automation for the following reasons, some are very selfish:

  • I think this is targeting the effect and not the cause, or better this is not making a distinction if the contributors has lost interest or they haven't received attention from us
  • Even myself, as one that opens these repositories most days of the week, will have PRs marked as stale
  • I have enough github notifications already, I don't need more 😿

Said that since the majority of contributors are happy with this I'm not opposing to this.

Copy link
Member

@emdneto emdneto left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm fine because there's way to prevent stale by just adding labels

MikeGoldsmith and others added 5 commits February 23, 2026 10:12
Co-authored-by: Emídio Neto <9735060+emdneto@users.noreply.github.com>
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.

7 participants