From 1728fff2472ea78b69adc5262d5d5a1214708e0a Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Mon, 10 Feb 2020 02:14:23 +0100 Subject: [PATCH] Create stale-issues.yml --- .github/workflows/stale-issues.yml | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 .github/workflows/stale-issues.yml diff --git a/.github/workflows/stale-issues.yml b/.github/workflows/stale-issues.yml new file mode 100644 index 00000000000..31be3e82e0f --- /dev/null +++ b/.github/workflows/stale-issues.yml @@ -0,0 +1,17 @@ +name: "Close stale issues" +on: + schedule: + - cron: "0 0 * * *" + +jobs: + stale: + runs-on: ubuntu-latest + steps: + - uses: actions/stale@v1 + with: + repo-token: ${{ secrets.GITHUB_TOKEN }} + stale-issue-message: 'This issue is stale because it has been open 1 year with no activity. Please remove the stale label or add a comment on issue if you don t have permissions on labels, or this issue will be closed in 10 days.' + stale-issue-label: 'Bug Stale (automatic label)' + exempt-issue-label: 'Bug Security (CVE)' + days-before-stale: 365 + days-before-close: 10