Skip to content

Broaden stale bot detection to GitHub Actions default message#37

Merged
thisismydesign merged 2 commits intoc-hive:masterfrom
Nek-12:bot-detect-inactive
Dec 8, 2025
Merged

Broaden stale bot detection to GitHub Actions default message#37
thisismydesign merged 2 commits intoc-hive:masterfrom
Nek-12:bot-detect-inactive

Conversation

@Nek-12
Copy link
Copy Markdown
Contributor

@Nek-12 Nek-12 commented Dec 8, 2025

Summary

  • handle GitHub Actions stale workflow wording ("This issue has been inactive for days") by adding a regex in isBot
  • rebuild dist

Rationale

Fresh-bot skipped notifications where github-actions[bot] warned: "This issue has been inactive for 30 days..." because the body didn’t match the existing stale phrases. That’s the default message in the actions/stale template, so users don’t get bumps.

Testing

  • NODE_OPTIONS=--openssl-legacy-provider npm run build

Copy link
Copy Markdown
Member

@thisismydesign thisismydesign left a comment

Choose a reason for hiding this comment

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

Thanks! Please don't change the package lock or dist. Dist will be updated automatically after merge.

@Nek-12
Copy link
Copy Markdown
Contributor Author

Nek-12 commented Dec 8, 2025

Addressed: reverted package-lock.json and dist/index.js. Branch now only changes src/utils/utils.js; feel free to rebuild dist on merge.

@thisismydesign
Copy link
Copy Markdown
Member

@Nek-12 Thanks!

@thisismydesign thisismydesign merged commit 4c96fd8 into c-hive:master Dec 8, 2025
1 check passed
@thisismydesign
Copy link
Copy Markdown
Member

@Nek-12 Nek-12 deleted the bot-detect-inactive branch December 9, 2025 06:41
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.

2 participants