coolify/.github/workflows/stale-threads.yaml
peaklabs-dev bc7850053d
ci: update and improve workflows
- add concurrency groups to cancel the in-progress workflow if a new
one is triggered
- update and pin all action versions to full-length SHAs
- update and pin all dependency versions to specific versions
- ensure git credentials are not persisted when using actions/checkout
2025-12-01 21:47:28 +01:00

38 lines
1.4 KiB
YAML
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

name: Manage stale threads
on:
schedule:
- cron: "0 2 * * *"
permissions:
issues: write
pull-requests: write
concurrency:
group: stale-threads
cancel-in-progress: true
jobs:
stale-threads:
runs-on: ubuntu-24.04 # https://github.com/actions/runner-images
steps:
- name: Manage stale threads (Issues & PRs)
uses: actions/stale@5f858e3efba33a5ca4407a664cc011ad407f2008 # https://github.com/actions/stale/releases/tag/v10.1.0
with:
stale-issue-message: |
This issue has been marked as stale due to inactivity. It will be automatically closed in 7 days if no update is received.
Please provide the requested information to keep the issue active.
stale-pr-message: |
This pull request has been marked as stale due to inactivity. It will be automatically closed in 7 days if no update is received.
To keep this PR active:
- Update your changes based on the requested feedback
- Leave a comment with your progress or questions
days-before-stale: 14
stale-issue-label: "⏱︎ Stale"
stale-pr-label: "⏱︎ Stale"
only-labels: "💤 Waiting for feedback, 💤 Waiting for changes"
remove-stale-when-updated: true
operations-per-run: 100
labels-to-remove-when-unstale: "⏱︎ Stale, 💤 Waiting for feedback, 💤 Waiting for changes"