NTP-7558 | synced file(s) with navi-android/workflows (#15863)

Co-authored-by: navi-android[bot] <194247829+navi-android[bot]@users.noreply.github.com>
This commit is contained in:
navi-android[bot]
2025-04-27 15:36:34 +05:30
committed by GitHub
parent faf298b636
commit 70028887c0

View File

@@ -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