Mark stale pull requests #107
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Mark stale pull requests | |
on: | |
schedule: | |
- cron: "0 0 * * *" | |
permissions: | |
pull-requests: write | |
jobs: | |
stale: | |
if: github.repository == 'elastic/ecs' | |
runs-on: ubuntu-latest | |
steps: | |
- name: "Check PRs" | |
uses: actions/stale@28ca1036281a5e5922ead5184a1bbf96e5fc984e # v9 | |
with: | |
repo-token: ${{ secrets.GITHUB_TOKEN }} | |
stale-pr-message: | | |
Hi! | |
We just realized that we haven't looked into this PR in a while. We're | |
sorry! | |
We're labeling this PR as `Stale` to make it hit our filters and | |
make sure we get back to it as soon as possible. In the meantime, it'd | |
be extremely helpful if you could take a look at it as well and confirm its | |
relevance. A simple comment with a nice emoji will be enough `:+1`. | |
Thank you for your contribution! | |
stale-pr-label: 'stale' | |
ascending: true | |
days-before-pr-stale: 60 | |
days-before-issue-stale: -1 | |
days-before-close: -1 | |
operations-per-run: 120 |