You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
swarms/.github/workflows/stale_isseue.yml

51 lines
1.9 KiB

11 months ago
---
# This workflow warns and then closes issues and PRs that have had no activity for a specified amount of time.
#
# You can adjust the behavior by modifying this file.
# For more information, see:
# https://github.com/actions/stale
name: Mark stale issues and pull requests
on:
schedule:
11 months ago
# Scheduled to run at 1.30 UTC everyday
- cron: '30 1 * * *'
jobs:
stale:
runs-on: ubuntu-latest
permissions:
issues: write
pull-requests: write
steps:
11 months ago
- uses: actions/stale@v9
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
days-before-issue-stale: 14
days-before-issue-close: 14
stale-issue-label: "status:stale"
close-issue-reason: not_planned
any-of-labels: "status:awaiting user response,status:more data needed"
stale-issue-message: >
11 months ago
Marking this issue as stale since it has been open for 14 days with no activity.
This issue will be closed if no further activity occurs.
11 months ago
close-issue-message: >
11 months ago
This issue was closed because it has been inactive for 28 days.
Please post a new issue if you need further assistance.
11 months ago
Thanks!
days-before-pr-stale: 14
days-before-pr-close: 14
stale-pr-label: "status:stale"
stale-pr-message: >
11 months ago
Marking this pull request as stale since it has been open for 14 days with no activity.
This PR will be closed if no further activity occurs.
11 months ago
close-pr-message: >
11 months ago
This pull request was closed because it has been inactive for 28 days.
Please open a new pull request if you need furtherassistance. Thanks!
11 months ago
# Label that can be assigned to issues to exclude them from being marked as stale
exempt-issue-labels: 'override-stale'
# Label that can be assigned to PRs to exclude them from being marked as stale
exempt-pr-labels: "override-stale"