From 2f71254fe094df11e645851616f36c0f4e1e2b51 Mon Sep 17 00:00:00 2001 From: Stefan Daschek Date: Sat, 14 Dec 2019 23:53:39 +0100 Subject: Add GitHub action for closing stale issues --- .github/workflows/stale.yml | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 .github/workflows/stale.yml (limited to '.github') diff --git a/.github/workflows/stale.yml b/.github/workflows/stale.yml new file mode 100644 index 00000000..e51cf505 --- /dev/null +++ b/.github/workflows/stale.yml @@ -0,0 +1,29 @@ +name: Mark stale issues and pull requests + +on: + schedule: + - cron: "0 0 * * *" + +jobs: + stale: + + runs-on: ubuntu-latest + + steps: + - uses: actions/stale@v1 + with: + repo-token: ${{ secrets.GITHUB_TOKEN }} + days-before-stale: 90 + days-before-close: 7 + stale-issue-message: > + This issue has been automatically marked as stale because it has not been commented on for at least three months. + It will be automatically closed in 7 days. + + If you have any new information or updates please reply in order to keep the issue open. + stale-pr-message: > + This pull request has been automatically marked as stale because has been no activity for at least three months. + It will be automatically closed in 7 days. + + If you have any new information or updates please reply in order to keep the pull request open. + stale-issue-label: stale + stale-pr-label: stale -- cgit v1.2.3