0
0
mirror of https://github.com/PostHog/posthog.git synced 2024-11-28 09:16:49 +01:00
posthog/.github/workflows/stale.yaml
dependabot[bot] aa649f58dd
chore(deps): bump actions/stale from 6 to 9 (#20968)
Bumps [actions/stale](https://github.com/actions/stale) from 6 to 9.
- [Release notes](https://github.com/actions/stale/releases)
- [Changelog](https://github.com/actions/stale/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/stale/compare/v6...v9)

---
updated-dependencies:
- dependency-name: actions/stale
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-03-18 10:53:01 +01:00

29 lines
1.6 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: 'Handle stale PRs'
on:
schedule:
- cron: '30 7 * * 1-5'
jobs:
stale:
# Only unleash the stale bot on PostHog/posthog, as there's no POSTHOG_BOT_GITHUB_TOKEN token on forks
if: ${{ github.repository == 'PostHog/posthog' }}
runs-on: ubuntu-latest
steps:
- uses: actions/stale@v9
with:
days-before-issue-stale: 730
days-before-issue-close: 14
stale-issue-message: "This issue hasn't seen activity in two years! If you want to keep it open, post a comment or remove the `stale` label otherwise this will be closed in two weeks."
close-issue-message: "This issue was closed due to lack of activity. Feel free to reopen if it's still relevant."
stale-issue-label: stale
remove-issue-stale-when-updated: true
days-before-pr-stale: 7
days-before-pr-close: 7
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 lack of activity. Feel free to reopen if it's still relevant."
stale-pr-label: stale
remove-pr-stale-when-updated: true
exempt-pr-labels: 'waiting'
operations-per-run: 250
repo-token: ${{ secrets.POSTHOG_BOT_GITHUB_TOKEN }}