From 0153a16e0bf7c687d3fa0ae9ff6efd4f56548d18 Mon Sep 17 00:00:00 2001 From: Henri Vandersleyen Date: Mon, 17 May 2021 13:38:36 -0700 Subject: [PATCH] added a stale issue manager and commented out the lua as it kept on snagging with vim (not an error). --- .github/workflows/stale.yml | 22 ++++++++++++++++++++++ .github/workflows/superLinter.yml | 2 +- 2 files changed, 23 insertions(+), 1 deletion(-) create mode 100644 .github/workflows/stale.yml diff --git a/.github/workflows/stale.yml b/.github/workflows/stale.yml new file mode 100644 index 0000000..1f16ea2 --- /dev/null +++ b/.github/workflows/stale.yml @@ -0,0 +1,22 @@ +name: 'Close stale issues and PRs' +on: + schedule: + - cron: '30 1 * * *' + +jobs: + stale: + runs-on: ubuntu-latest + steps: + - uses: actions/stale@v3 + with: + repo-token: ${{ secrets.GITHUB_TOKEN }} + stale-issue-message: 'This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 5 days.' + stale-pr-message: 'This PR is stale because it has been open 45 days with no activity. Remove stale label or comment or this will be closed in 10 days.' + close-issue-message: 'This issue was closed because it has been stalled for 5 days with no activity.' + exempt-all-issue-assignees: true # doesn't close an issue if someone was assigned to it. + close-pr-message: 'This PR was closed because it has been stalled for 10 days with no activity.' + exempt-all-pr-assignees: true # doesn't close a pr if someone was assigned to it. + days-before-issue-stale: 30 + days-before-pr-stale: 45 + days-before-issue-close: 5 + days-before-pr-close: 10 diff --git a/.github/workflows/superLinter.yml b/.github/workflows/superLinter.yml index ba8708c..88ea034 100644 --- a/.github/workflows/superLinter.yml +++ b/.github/workflows/superLinter.yml @@ -23,7 +23,7 @@ jobs: env: VALIDATE_YAML: true VALIDATE_BASH_EXEC: true - VALIDATE_LUA: true + #VALIDATE_LUA: true #removed because the lua gets caught with all the vim OUTPUT_FOLDER: super-linter.report OUTPUT_DETAILS: detailed DEFAULT_BRANCH: main