added a stale issue manager and commented out the lua as it kept on

snagging with vim (not an error).
This commit is contained in:
Henri Vandersleyen 2021-05-17 13:38:36 -07:00
parent 706a4148e2
commit 0153a16e0b
No known key found for this signature in database
GPG key ID: 795A7EF27EBE8A8D
2 changed files with 23 additions and 1 deletions

22
.github/workflows/stale.yml vendored Normal file
View file

@ -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

View file

@ -23,7 +23,7 @@ jobs:
env: env:
VALIDATE_YAML: true VALIDATE_YAML: true
VALIDATE_BASH_EXEC: 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_FOLDER: super-linter.report
OUTPUT_DETAILS: detailed OUTPUT_DETAILS: detailed
DEFAULT_BRANCH: main DEFAULT_BRANCH: main