diff --git a/.github/workflows/stale.yml b/.github/workflows/stale.yml index 380bfae..59912dc 100644 --- a/.github/workflows/stale.yml +++ b/.github/workflows/stale.yml @@ -9,14 +9,21 @@ jobs: stale: runs-on: [ default ] steps: + - name: Create GitHub App Token + uses: navi-synced-actions/actions-create-github-app-token@v1 + id: get-token + with: + private-key: ${{ secrets.GH_APP_NAVI_ANDROID_PEM }} + app-id: ${{ secrets.GH_APP_NAVI_ANDROID_ID }} - name: Stale uses: actions/stale@v9 with: - repo-token: ${{ secrets.GITHUB_TOKEN }} - days-before-pr-stale: 21 + repo-token: ${{ steps.get-token.outputs.token }} + days-before-pr-stale: 14 stale-pr-label: 'STALE / OPEN' - stale-pr-message: "This PR hasn't seen activity in the last 3 weeks! Should it be merged, closed, or worked on further? If you want to keep it open, post a comment or remove the `STALE / OPEN` label – otherwise, this will be closed in 1 week." + stale-pr-message: "This PR hasn't seen activity in the last 2 weeks! Should it be merged, closed, or worked on further? If you want to keep it open, post a comment or remove the `STALE / OPEN` label – otherwise, this will be closed in 1 week." days-before-pr-close: 7 close-pr-label: 'STALE / CLOSED' - close-pr-message: 'This PR was closed due to 4 weeks of inactivity. Feel free to reopen it if still relevant.' + close-pr-message: 'This PR was closed due to 3 weeks of inactivity. Feel free to reopen it if still relevant.' exempt-pr-labels: 'DEPENDABOT / GITHUB ACTIONS, DEPENDABOT / GRADLE' + operations-per-run: 100