0
0
mirror of https://github.com/PostHog/posthog.git synced 2024-11-24 09:14:46 +01:00
posthog/.github/workflows/staleness.yaml
2021-07-28 10:39:43 +03:00

21 lines
896 B
YAML
Raw Permalink 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: 'Handle stale issues and PRs'
on:
schedule:
- cron: '30 7 * * 1-5'
jobs:
stale:
runs-on: ubuntu-latest
steps:
- uses: actions/stale@v4
with:
only: pulls
stale-pr-message: "This PR hasn't seen activity in a week! Should it be merged, closed, or further worked on? If you want to keep it open, post a comment or remove the `stale` label otherwise this will be closed in another week."
close-pr-message: 'This PR was closed due to 2 weeks of inactivity. Feel free to reopen it if still relevant.'
days-before-pr-stale: 7
days-before-pr-close: 14
stale-issue-label: stale
stale-pr-label: stale
operations-per-run: 50
repo-token: ${{ secrets.POSTHOG_BOT_GITHUB_TOKEN }}