diff options
| author | v-junyli <[email protected]> | 2025-10-17 05:15:34 -0700 |
|---|---|---|
| committer | GitHub <[email protected]> | 2025-10-17 05:15:34 -0700 |
| commit | 57ea2d0f5a34d677338c2aaa7fa20a601038439c (patch) | |
| tree | 4409a04c4966e6f9c45162ee1cefe4852131d006 | |
| parent | b472de3ecaf476acddcfd099150aa09b747221e7 (diff) | |
| parent | 3e1eb43a5a6025a523b083325167216cf4140a89 (diff) | |
Merge pull request #1331 from microsoft/user/vjunyli/BulkCloseIssues
adding workflow to bulk cleanup stale issues older than 1 year
| -rw-r--r-- | .github/workflows/StaleIssues.yml | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/.github/workflows/StaleIssues.yml b/.github/workflows/StaleIssues.yml new file mode 100644 index 00000000..4845bf47 --- /dev/null +++ b/.github/workflows/StaleIssues.yml @@ -0,0 +1,19 @@ +name: Close inactive issues +on: + schedule: + # Runs every Monday at 06:00 PST (14:00 UTC) + - cron: '0 14 * * 1' +jobs: + close-issues: + runs-on: ubuntu-latest + permissions: + issues: write + steps: + - uses: actions/stale@v10 + with: + days-before-issue-stale: 365 + days-before-issue-close: 7 + stale-issue-label: "stale" + stale-issue-message: "This issue has been inactive for a year. It will be closed in 7 days if no further activity occurs. If you believe this issue is still relevant, please comment to keep it open." + close-issue-message: "Closing due to prolonged inactivity." + repo-token: ${{ secrets.GITHUB_TOKEN }} |
