diff options
| author | Dax Raad <[email protected]> | 2026-03-24 23:50:35 -0400 |
|---|---|---|
| committer | Dax Raad <[email protected]> | 2026-03-24 23:50:35 -0400 |
| commit | 79e9d19019e4edd43c6001545a2cbbbd37d8c14f (patch) | |
| tree | d0b2fe9406a59e4f2e8020769e88803ba8c2d5b5 /.github/workflows/stale-issues.yml | |
| parent | 958a80cc052b9b342dfa2a92c0a4caf1c4418fa9 (diff) | |
| download | opencode-79e9d19019e4edd43c6001545a2cbbbd37d8c14f.tar.gz opencode-79e9d19019e4edd43c6001545a2cbbbd37d8c14f.zip | |
Add close-issues script and GitHub Action
- Create script/github/close-issues.ts to close stale issues after 60 days
- Add GitHub Action workflow to run daily at 2 AM
- Remove old stale-issues workflow to avoid conflicts
Diffstat (limited to '.github/workflows/stale-issues.yml')
| -rw-r--r-- | .github/workflows/stale-issues.yml | 34 |
1 files changed, 0 insertions, 34 deletions
diff --git a/.github/workflows/stale-issues.yml b/.github/workflows/stale-issues.yml deleted file mode 100644 index c26528120..000000000 --- a/.github/workflows/stale-issues.yml +++ /dev/null @@ -1,34 +0,0 @@ -name: stale-issues - -on: - schedule: - - cron: "30 1 * * *" # Daily at 1:30 AM - workflow_dispatch: - -env: - DAYS_BEFORE_STALE: 90 - DAYS_BEFORE_CLOSE: 7 - -jobs: - stale: - runs-on: ubuntu-latest - permissions: - issues: write - steps: - - uses: actions/[email protected] - with: - operations-per-run: 1000 - days-before-stale: ${{ env.DAYS_BEFORE_STALE }} - days-before-close: ${{ env.DAYS_BEFORE_CLOSE }} - stale-issue-label: "stale" - close-issue-message: | - [automated] Closing due to ${{ env.DAYS_BEFORE_STALE }}+ days of inactivity. - - Feel free to reopen if you still need this! - stale-issue-message: | - [automated] This issue has had no activity for ${{ env.DAYS_BEFORE_STALE }} days. - - It will be closed in ${{ env.DAYS_BEFORE_CLOSE }} days if there's no new activity. - remove-stale-when-updated: true - exempt-issue-labels: "pinned,security,feature-request,on-hold" - start-date: "2025-12-27" |
