diff --git a/.github/workflows/stale-bot.yml b/.github/workflows/stale-bot.yml index 60b662e92e4..efd92f47a21 100644 --- a/.github/workflows/stale-bot.yml +++ b/.github/workflows/stale-bot.yml @@ -18,6 +18,22 @@ jobs: stale-pr-message: 'This PR is stale because it has been open 180 days with no activity. Remove stale label or comment or this will be closed in 7 days.' close-issue-message: 'This issue was closed because it has been stalled for 7 days with no activity.' close-pr-message: 'This PR was closed because it has been stalled for 7 days with no activity.' + stale-asc: + runs-on: ubuntu-latest + if: github.repository == 'facebook/react-native' + permissions: + issues: write + pull-requests: write + steps: + - uses: actions/stale@v5 + with: + ascending: true + repo-token: ${{ secrets.GITHUB_TOKEN }} + days-before-stale: 180 + stale-issue-message: 'This issue is stale because it has been open 180 days with no activity. Remove stale label or comment or this will be closed in 7 days.' + stale-pr-message: 'This PR is stale because it has been open 180 days with no activity. Remove stale label or comment or this will be closed in 7 days.' + close-issue-message: 'This issue was closed because it has been stalled for 7 days with no activity.' + close-pr-message: 'This PR was closed because it has been stalled for 7 days with no activity.' stale-needs-author-feedback: runs-on: ubuntu-latest if: github.repository == 'facebook/react-native' @@ -34,3 +50,20 @@ jobs: stale-pr-message: "This PR is waiting for author's feedback since 24 days. Please provide the requested feedback or this will be closed in 7 days" close-issue-message: "This issue was closed because the author hasn't provided the requested feedback after 7 days." close-pr-message: "This PR was closed because the author hasn't provided the requested feedback after 7 days." + stale-needs-author-feedback-asc: + runs-on: ubuntu-latest + if: github.repository == 'facebook/react-native' + permissions: + issues: write + pull-requests: write + steps: + - uses: actions/stale@v5 + with: + ascending: true + repo-token: ${{ secrets.GITHUB_TOKEN }} + any-of-labels: 'Needs: Author Feedback' + days-before-stale: 24 + stale-issue-message: "This issue is waiting for author's feedback since 24 days. Please provide the requested feedback or this will be closed in 7 days." + stale-pr-message: "This PR is waiting for author's feedback since 24 days. Please provide the requested feedback or this will be closed in 7 days" + close-issue-message: "This issue was closed because the author hasn't provided the requested feedback after 7 days." + close-pr-message: "This PR was closed because the author hasn't provided the requested feedback after 7 days."