mirror of
https://github.com/alexjustesen/speedtest-tracker.git
synced 2026-06-23 04:30:09 +00:00
d5ebe7ca57
Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Alex Justesen <alexjustesen@users.noreply.github.com>
61 lines
1.7 KiB
YAML
61 lines
1.7 KiB
YAML
name: 'Issue and PR Maintenance'
|
|
|
|
on:
|
|
schedule:
|
|
- cron: '0 0 * * *' # runs at midnight UTC
|
|
workflow_dispatch:
|
|
|
|
permissions:
|
|
issues: write
|
|
pull-requests: write
|
|
|
|
jobs:
|
|
lock-inactive:
|
|
name: Lock Inactive Issues
|
|
runs-on: ubuntu-24.04
|
|
steps:
|
|
- uses: klaasnicolaas/action-inactivity-lock@v2.0.1
|
|
id: lock
|
|
with:
|
|
days-inactive-issues: 14
|
|
lock-reason-issues: ""
|
|
# Action can not skip PRs, set it to 100 years to cover it.
|
|
days-inactive-prs: 36524
|
|
lock-reason-prs: ""
|
|
|
|
close-stale:
|
|
name: Close Stale Issues
|
|
runs-on: ubuntu-24.04
|
|
steps:
|
|
- name: Close Stale Issues
|
|
uses: actions/stale@v10
|
|
with:
|
|
repo-token: ${{ secrets.GITHUB_TOKEN }}
|
|
|
|
# Messaging
|
|
stale-issue-message: >
|
|
👋 This issue has been automatically marked as stale due to inactivity.
|
|
If this issue is still relevant, please comment to keep it open.
|
|
Without activity, it will be closed in 7 days.
|
|
|
|
close-issue-message: >
|
|
🔒 This issue has been automatically closed due to prolonged inactivity.
|
|
Feel free to open a new issue if you have further questions or concerns.
|
|
|
|
# Timing
|
|
days-before-issue-stale: 14
|
|
days-before-issue-close: 7
|
|
|
|
# Labels
|
|
stale-issue-label: 'stale'
|
|
remove-stale-when-updated: true
|
|
only-issue-labels: 'question'
|
|
exempt-issue-labels: >
|
|
bug, chore, confirmed, dependencies, help wanted,
|
|
documentation, duplicate, feature, good first issue,
|
|
needs review, wontfix
|
|
|
|
# Exemptions
|
|
exempt-assignees: true
|
|
exempt-milestones: true
|