diff --git a/.github/ISSUE_TEMPLATE/bug_report.md b/.github/ISSUE_TEMPLATE/bug_report.md index 0f38032..4d418b0 100644 --- a/.github/ISSUE_TEMPLATE/bug_report.md +++ b/.github/ISSUE_TEMPLATE/bug_report.md @@ -2,7 +2,7 @@ name: Bug Report about: Create a report to help us improve title: '' -labels: 'bug' +labels: [ "bug_report", "triage" ] assignees: '' --- diff --git a/.github/ISSUE_TEMPLATE/feature_request.md b/.github/ISSUE_TEMPLATE/feature_request.md index 9d58b32..aade7ea 100644 --- a/.github/ISSUE_TEMPLATE/feature_request.md +++ b/.github/ISSUE_TEMPLATE/feature_request.md @@ -2,7 +2,7 @@ name: Feature Request about: Help us with new ideas title: '' -labels: '' +labels: [ "feature_request", "triage" ] assignees: '' --- diff --git a/.github/workflows/close-inactive-issues.yml b/.github/workflows/close-inactive-issues.yml index f5c7c6e..a430ab5 100644 --- a/.github/workflows/close-inactive-issues.yml +++ b/.github/workflows/close-inactive-issues.yml @@ -5,6 +5,27 @@ on: workflow_dispatch: # allow manual trigger jobs: + close-issues-in-triage: + runs-on: ubuntu-latest + permissions: + issues: write + steps: + - uses: actions/stale@v8 + with: + operations-per-run: 1000 + days-before-issue-stale: 28 + days-before-issue-close: 14 + stale-issue-label: "stale" + stale-issue-message: "This issue is stale because it has been open for 28 days with no activity." + close-issue-message: "This issue was closed because it has been inactive for 14 days since being marked as stale." + close-issue-reason: 'not_planned' + days-before-pr-stale: -1 # ignore PRs (overwrite default days-before-stale) + days-before-pr-close: -1 # ignore PRs (overwrite default days-before-close) + remove-issue-stale-when-updated: true + exempt-all-issue-milestones: false # issues with assigned milestones will be ignored + only-label: 'triage' + repo-token: ${{ secrets.GITHUB_TOKEN }} + close-issues-with-assignee: runs-on: ubuntu-latest permissions: