From 42ebc46487307426814b3ed2a3cb3f8d1045c756 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?O=C4=9Fuzhan=20Olguncu?= <21091016+ogzhanolguncu@users.noreply.github.com> Date: Tue, 23 Jul 2024 16:43:57 +0300 Subject: [PATCH] ci: remove stale command (#1205) --- .github/workflows/stale.yaml | 31 ------------------------------- 1 file changed, 31 deletions(-) delete mode 100644 .github/workflows/stale.yaml diff --git a/.github/workflows/stale.yaml b/.github/workflows/stale.yaml deleted file mode 100644 index cd2d418d..00000000 --- a/.github/workflows/stale.yaml +++ /dev/null @@ -1,31 +0,0 @@ -name: 'Close stale issues and PRs' -on: - schedule: - - cron: "30 1 * * *" - -env: - DAYS_BEFORE_ISSUE_STALE: 30 - DAYS_BEFORE_ISSUE_CLOSE: 30 - DAYS_BEFORE_PR_STALE: 30 - DAYS_BEFORE_PR_CLOSE: 30 - -jobs: - close-issues: - runs-on: ubuntu-latest - permissions: - issues: write - pull-requests: write - steps: - - uses: actions/stale@v8 - with: - days-before-issue-stale: ${{ env.DAYS_BEFORE_ISSUE_STALE }} - days-before-issue-close: ${{ env.DAYS_BEFORE_ISSUE_CLOSE }} - days-before-pr-stale: ${{ env.DAYS_BEFORE_PR_STALE }} - days-before-pr-close: ${{ env.DAYS_BEFORE_PR_CLOSE }} - stale-issue-label: "Inactive Issue" - stale-issue-message: 'This issue is stale because it has been open ${{ env.DAYS_BEFORE_ISSUE_STALE }} days with no activity. Remove stale label or comment or this will be closed in ${{ env.DAYS_BEFORE_ISSUE_CLOSE }} days.' - stale-pr-message: 'This PR is stale because it has been open ${{ env.DAYS_BEFORE_PR_STALE }} days with no activity. Remove stale label or comment or this will be closed in ${{ env.DAYS_BEFORE_PR_CLOSE }} days.' - close-issue-message: 'This issue was closed because it has been stalled for ${{ env.DAYS_BEFORE_ISSUE_CLOSE }} days with no activity.' - close-pr-message: 'This PR was closed because it has been stalled for ${{ env.DAYS_BEFORE_PR_CLOSE }} days with no activity.' - exempt-issue-labels: "Active Issue" - repo-token: ${{ secrets.GITHUB_TOKEN }} \ No newline at end of file