diff options
author | Shohei Ueda <30958501+peaceiris@users.noreply.github.com> | 2020-01-27 11:22:36 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-01-27 11:22:36 +0300 |
commit | d0a9368690383783c54e5f19e1080e6c2feebb7e (patch) | |
tree | c0e5da549f4451c745f41907ccb7c8ea5c1ce622 /.github | |
parent | b149c37802789a82c0a7ecff928dfbe4e70662be (diff) |
ci: Add stale-pr-message
Diffstat (limited to '.github')
-rw-r--r-- | .github/workflows/stale.yml | 17 |
1 files changed, 9 insertions, 8 deletions
diff --git a/.github/workflows/stale.yml b/.github/workflows/stale.yml index 103fd7a7..0a35c0ea 100644 --- a/.github/workflows/stale.yml +++ b/.github/workflows/stale.yml @@ -1,16 +1,17 @@ -name: "Close stale issues" +name: "Stale" on: schedule: - - cron: "17 7 * * *" + - cron: "17 7 * * *" jobs: stale: runs-on: ubuntu-18.04 steps: - - uses: actions/stale@v1 - with: - repo-token: ${{ secrets.GITHUB_TOKEN }} - stale-issue-message: 'This issue is stale because it has been open 21 days with no activity. Remove stale label or comment or this will be closed in 7 days.' - days-before-stale: 21 - days-before-close: 7 + - uses: actions/stale@v2 + with: + repo-token: ${{ secrets.GITHUB_TOKEN }} + stale-issue-message: 'This issue is stale because it has been open 21 days with no activity. Remove stale label or comment or this will be closed in 7 days.' + stale-pr-message: 'This Pull Request is stale because it has been open 21 days with no activity. Remove stale label or comment or this will be closed in 7 days.' + days-before-stale: 21 + days-before-close: 7 |