Skip to content

ci: add stale PR management workflow#347

Merged
OriolAbril merged 5 commits intonumfocus:mainfrom
AR21SM:stale_pr
Aug 5, 2025
Merged

ci: add stale PR management workflow#347
OriolAbril merged 5 commits intonumfocus:mainfrom
AR21SM:stale_pr

Conversation

@AR21SM
Copy link
Copy Markdown
Member

@AR21SM AR21SM commented Jul 2, 2025

Description of Changes

Add GitHub Actions workflow to automatically manage inactive pull requests:

  • Marks PRs as stale after 30 days of inactivity
  • Closes stale PRs after 14 additional days without activity
  • Exempts draft PRs and those with specific labels or milestones
  • Configures proper permissions and runs daily

Related Issue

closes #346

Type of Change

Please check the appropriate box that describes your PR:

  • 🐛 Bug Fix — Fixes a documented issue or incorrect behavior
  • ✨ Content Enhancement — Updates or improves existing content
  • ✍️ New Content — Adds new chapters, examples, or significant sections
  • 🛠️ Other — Please describe in the Description of Changes section

Additional Notes (Optional)

Checklist

@AR21SM
Copy link
Copy Markdown
Member Author

AR21SM commented Jul 2, 2025

Hi @aterrel!
I've set up a stale PR workflow. These labels will exempt PRs from being marked stale:
https://github.com/actions/stale#:~:text=exempt%2Dpr%2Dlabels,exempted%20from%20stale

🔄 changes required
✨ content enhancement
✍️ new content

Let me know if you want to add any other exempt labels.

Comment thread .github/workflows/stale-pr.yml Outdated
Comment thread .github/workflows/stale-pr.yml Outdated
Copy link
Copy Markdown
Member

@aterrel aterrel left a comment

Choose a reason for hiding this comment

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

I think we go ahead and get this in once we fix the closing issues rather than just marking them stale.

What would be great is if there is a new PR for an issue, that owner is assigned the issue so that other contributors know someone is working on the issue.

@netlify
Copy link
Copy Markdown

netlify Bot commented Jul 29, 2025

Deploy Preview for stupendous-kringle-a86e81 ready!

Name Link
🔨 Latest commit 7e03453
🔍 Latest deploy log https://app.netlify.com/projects/stupendous-kringle-a86e81/deploys/68923cc960dcd60008c261ff
😎 Deploy Preview https://deploy-preview-347--stupendous-kringle-a86e81.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

Comment thread requirements.txt
@OriolAbril OriolAbril merged commit 01dfdc6 into numfocus:main Aug 5, 2025
4 checks passed
@AR21SM AR21SM changed the title Added stale PR workflow ci: add stale PR management workflow Aug 31, 2025
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.

Add stale github action bot

3 participants