diff --git a/.github/workflows/issues-no-response.yml b/.github/workflows/issues-no-response.yml deleted file mode 100644 index 9c8346984..000000000 --- a/.github/workflows/issues-no-response.yml +++ /dev/null @@ -1,25 +0,0 @@ -name: Close issues with no user response -on: - schedule: - - cron: "0 0 * * *" - -jobs: - close-issues: - runs-on: ubuntu-latest - permissions: - issues: write - pull-requests: write - steps: - - uses: actions/stale@v5 - with: - days-before-issue-stale: 21 - days-before-issue-close: 7 - stale-issue-label: "stale" - stale-issue-message: "This issue is stale because it has been marked with `waiting for user response` but hasn't received any activity since 3 weeks." - close-issue-message: "This issue was closed because it has been inactive another week since being marked as stale." - days-before-pr-stale: -1 - days-before-pr-close: -1 - remove-stale-when-updated: true - any-of-labels: "waiting for user response" - labels-to-remove-when-unstale: "waiting for user response,stale" - repo-token: ${{ secrets.GITHUB_TOKEN }} diff --git a/.github/workflows/on-comment-remove-label.yml b/.github/workflows/on-comment-remove-label.yml deleted file mode 100644 index 37c70f03c..000000000 --- a/.github/workflows/on-comment-remove-label.yml +++ /dev/null @@ -1,23 +0,0 @@ -name: Remove `waiting for user response` label -on: - issue_comment: - types: [ created ] - -jobs: - remove-label: - runs-on: ubuntu-latest - permissions: - issues: write - pull-requests: write - steps: - - name: Remove `waiting for user response` label if exists - uses: actions/github-script@v7 - with: - github-token: ${{ secrets.GITHUB_TOKEN }} - script: | - await github.rest.issues.removeLabel({ - owner: context.repo.owner, - repo: context.repo.repo, - issue_number: context.issue.number, - name: ["waiting for user response"] - });