From 1c22c9506e00f7848a378fd2eb166cdda8db4c26 Mon Sep 17 00:00:00 2001 From: jeffvli Date: Mon, 7 Jul 2025 21:14:18 -0700 Subject: [PATCH] remove stale lock comments --- .github/workflows/stale.yml | 86 +++++++++++++++++-------------------- 1 file changed, 40 insertions(+), 46 deletions(-) diff --git a/.github/workflows/stale.yml b/.github/workflows/stale.yml index e50c47d5..c8322243 100644 --- a/.github/workflows/stale.yml +++ b/.github/workflows/stale.yml @@ -1,53 +1,47 @@ name: 'Close stale issues and PRs' on: - workflow_dispatch: - schedule: - - cron: '30 1 * * *' + workflow_dispatch: + schedule: + - cron: '30 1 * * *' permissions: - contents: read + contents: read jobs: - stale: - permissions: - issues: write - pull-requests: write - runs-on: ubuntu-latest - steps: - - uses: dessant/lock-threads@v5 - with: - process-only: 'issues, prs' - issue-inactive-days: 120 - pr-inactive-days: 120 - log-output: true - add-issue-labels: 'frozen-due-to-age' - add-pr-labels: 'frozen-due-to-age' - issue-comment: > - This issue has been automatically locked since there - has not been any recent activity after it was closed. - Please open a new issue for related bugs. - pr-comment: > - This pull request has been automatically locked since there - has not been any recent activity after it was closed. - Please open a new issue for related bugs. - - uses: actions/stale@v9 - with: - operations-per-run: 999 - days-before-issue-stale: 180 - days-before-pr-stale: 180 - days-before-issue-close: 30 - days-before-pr-close: 30 - stale-issue-message: > - This issue has been automatically marked as stale because it has not had recent activity. - The resources of the Feishin team are limited, and so we are asking for your help. + stale: + permissions: + issues: write + pull-requests: write + runs-on: ubuntu-latest + steps: + - uses: dessant/lock-threads@v5 + with: + process-only: 'issues, prs' + issue-inactive-days: 120 + pr-inactive-days: 120 + log-output: true + add-issue-labels: 'frozen-due-to-age' + add-pr-labels: 'frozen-due-to-age' + - uses: actions/stale@v9 + with: + operations-per-run: 999 + days-before-issue-stale: 180 + days-before-pr-stale: 180 + days-before-issue-close: 30 + days-before-pr-close: 30 + stale-issue-message: > + This issue has been automatically marked as stale because it has not had recent activity. The resources of the Feishin team are limited, and so we are asking for your help. - If this is a **bug** and you can still reproduce this error on the development branch, please reply with all of the information you have about it in order to keep the issue open. + If this is a **bug** and you can still reproduce this error on the development branch, please reply with all of the information you have about it in order to keep the issue open. - This issue will automatically be closed in the near future if no further activity occurs. Thank you for all your contributions. - stale-pr-message: > - This PR has been automatically marked as stale because it has not had recent activity. - The resources of the Feishin team are limited, and so we are asking for your help. + This issue will automatically be closed in the near future if no further activity occurs. Thank you for all your contributions. - This PR will automatically be closed in the near future if no further activity occurs. Thank you for all your contributions. - stale-issue-label: 'stale' - exempt-issue-labels: 'enhancement,keep,security' - stale-pr-label: 'stale' - exempt-pr-labels: 'keep,security' + + stale-pr-message: > + This PR has been automatically marked as stale because it has not had recent activity. The resources of the Feishin team are limited, and so we are asking for your help. + + This PR will automatically be closed in the near future if no further activity occurs. Thank you for all your contributions. + + + stale-issue-label: 'stale' + exempt-issue-labels: 'enhancement,keep,security' + stale-pr-label: 'stale' + exempt-pr-labels: 'keep,security'