Files
alfred-android/.github/workflows/stale.yml
navi-android[bot] 09892f1f05 NTP-7558 | synced file(s) with navi-android/workflows (#323)
Co-authored-by: navi-android[bot] <194247829+navi-android[bot]@users.noreply.github.com>
2025-04-27 10:06:22 +00:00

30 lines
1.1 KiB
YAML
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

name: Stale
on:
workflow_dispatch:
schedule:
- cron: "30 4 * * MON"
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: ${{ 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 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 3 weeks of inactivity. Feel free to reopen it if still relevant.'
exempt-pr-labels: 'DEPENDABOT / GITHUB ACTIONS, DEPENDABOT / GRADLE'
operations-per-run: 100