From b308ceaa5e0677f16364ddc6d7b6f7fa444f392f Mon Sep 17 00:00:00 2001 From: Henri Vandersleyen Date: Mon, 17 May 2021 13:14:10 -0700 Subject: [PATCH 1/5] added linter for push on main to double check the lua and shell languages. --- .github/workflows/superLinter.yml | 31 +++++++++++++++++++++++++++++++ README.md | 1 + 2 files changed, 32 insertions(+) create mode 100644 .github/workflows/superLinter.yml diff --git a/.github/workflows/superLinter.yml b/.github/workflows/superLinter.yml new file mode 100644 index 0000000..cba0b34 --- /dev/null +++ b/.github/workflows/superLinter.yml @@ -0,0 +1,31 @@ +name: Super-Linter + +# Run this workflow every time a new commit pushed to your repository +on: push + +jobs: + # Set the job key. The key is displayed as the job name + # when a job name is not provided + super-lint: + # Name the Job + name: Lint code base + # Set the type of machine to run on + runs-on: ubuntu-latest + + steps: + # Checks out a copy of your repository on the ubuntu-latest machine + - name: Checkout code + uses: actions/checkout@v2 + + # Runs the Super-Linter action + - name: Run Super-Linter + uses: github/super-linter@v3 + env: + VALIDATE_YAML: true + VALIDATE_BASH_EXEC: true + VALIDATE_PYTHON_PYLINT: true + OUTPUT_FOLDER: super-linter.report + OUTPUT_DETAILS: detailed + DEFAULT_BRANCH: main + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + diff --git a/README.md b/README.md index 8c3af09..f8bc192 100644 --- a/README.md +++ b/README.md @@ -1,3 +1,4 @@ + An attempt to make neovim (cli version) as functional as an IDE while being very eyecandy. # Screenshots - From f296cdc7caf8611b16a4dbac80a0cb8b6f11d1e7 Mon Sep 17 00:00:00 2001 From: Henri Vandersleyen Date: Mon, 17 May 2021 13:16:46 -0700 Subject: [PATCH 2/5] added the correct lua checker. --- .github/workflows/superLinter.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/superLinter.yml b/.github/workflows/superLinter.yml index cba0b34..ba8708c 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_PYTHON_PYLINT: true + VALIDATE_LUA: true OUTPUT_FOLDER: super-linter.report OUTPUT_DETAILS: detailed DEFAULT_BRANCH: main From 1af58cfb0562f0cb139ec7f49b64060bcddda98d Mon Sep 17 00:00:00 2001 From: Henri <52706578+Vanderscycle@users.noreply.github.com> Date: Mon, 17 May 2021 13:18:46 -0700 Subject: [PATCH 3/5] Update README.md Added the badge proprely --- README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/README.md b/README.md index f8bc192..5566c40 100644 --- a/README.md +++ b/README.md @@ -1,3 +1,4 @@ +[![GitHub Super-Linter](https://github.com///workflows/Lint%20Code%20Base/badge.svg)](https://github.com/marketplace/actions/super-linter) An attempt to make neovim (cli version) as functional as an IDE while being very eyecandy. From 706a4148e2577e9c55541a745437960e74cb3b53 Mon Sep 17 00:00:00 2001 From: Henri <52706578+Vanderscycle@users.noreply.github.com> Date: Mon, 17 May 2021 13:21:53 -0700 Subject: [PATCH 4/5] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 5566c40..e61c83d 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -[![GitHub Super-Linter](https://github.com///workflows/Lint%20Code%20Base/badge.svg)](https://github.com/marketplace/actions/super-linter) +[![GitHub Super-Linter](https://github.com/siduck76/neovim-dotfiles/workflows/Lint%20Code%20Base/badge.svg)](https://github.com/marketplace/actions/super-linter) An attempt to make neovim (cli version) as functional as an IDE while being very eyecandy. From 0153a16e0bf7c687d3fa0ae9ff6efd4f56548d18 Mon Sep 17 00:00:00 2001 From: Henri Vandersleyen Date: Mon, 17 May 2021 13:38:36 -0700 Subject: [PATCH 5/5] 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