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

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:22 +05:30
committed by GitHub
parent 3ff2ae6f49
commit 09892f1f05

View File

@@ -9,14 +9,21 @@ jobs:
stale: stale:
runs-on: [ default ] runs-on: [ default ]
steps: 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 - name: Stale
uses: actions/stale@v9 uses: actions/stale@v9
with: with:
repo-token: ${{ secrets.GITHUB_TOKEN }} repo-token: ${{ steps.get-token.outputs.token }}
days-before-pr-stale: 21 days-before-pr-stale: 14
stale-pr-label: 'STALE / OPEN' 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 days-before-pr-close: 7
close-pr-label: 'STALE / CLOSED' 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' exempt-pr-labels: 'DEPENDABOT / GITHUB ACTIONS, DEPENDABOT / GRADLE'
operations-per-run: 100