From 6ce82eb602ebd77647a8ffa81c5088f4d6a30430 Mon Sep 17 00:00:00 2001 From: Anurenjini78 <78848039+Anurenjini78@users.noreply.github.com> Date: Mon, 29 Mar 2021 10:33:12 +0530 Subject: [PATCH 01/10] Create code-quality.yml --- .github/workflows/code-quality.yml | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 .github/workflows/code-quality.yml diff --git a/.github/workflows/code-quality.yml b/.github/workflows/code-quality.yml new file mode 100644 index 00000000..5c8f4de0 --- /dev/null +++ b/.github/workflows/code-quality.yml @@ -0,0 +1,21 @@ +on: [push] + +jobs: + check-quality: + runs-on: ubuntu-latest + name: A job to check my code quality + steps: + - name: Check code meets quality standards + id: code-inspector + uses: codeinspectorio/github-action@master + with: + repo_token: ${{ secrets.GITHUB_TOKEN }} + code_inspector_access_key: ${{ secrets.CODE_INSPECTOR_ACCESS_KEY }} + code_inspector_secret_key: ${{ secrets.CODE_INSPECTOR_SECRET_KEY }} + min_quality_grade: 'WARNING' + min_quality_score: '50' + max_defects_rate: '0.0001' + max_complex_functions_rate: '0.0001' + max_long_functions_rate: '0.0001' + project_name: '' + max_timeout_sec: '600' From 1277f5f1ffddc2dee92d4e315018614ad20912eb Mon Sep 17 00:00:00 2001 From: Anurenjini78 <78848039+Anurenjini78@users.noreply.github.com> Date: Mon, 29 Mar 2021 10:34:24 +0530 Subject: [PATCH 02/10] Update code-quality.yml --- .github/workflows/code-quality.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/code-quality.yml b/.github/workflows/code-quality.yml index 5c8f4de0..7ab56746 100644 --- a/.github/workflows/code-quality.yml +++ b/.github/workflows/code-quality.yml @@ -14,7 +14,7 @@ jobs: code_inspector_secret_key: ${{ secrets.CODE_INSPECTOR_SECRET_KEY }} min_quality_grade: 'WARNING' min_quality_score: '50' - max_defects_rate: '0.0001' + max_defects_rate: '0.1001' max_complex_functions_rate: '0.0001' max_long_functions_rate: '0.0001' project_name: '' From 8df1c950c8152a97fecb537eea0e62ed08782e45 Mon Sep 17 00:00:00 2001 From: Anurenjini78 <78848039+Anurenjini78@users.noreply.github.com> Date: Mon, 29 Mar 2021 10:35:55 +0530 Subject: [PATCH 03/10] Update utils.test.js --- test/utils.test.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/utils.test.js b/test/utils.test.js index be1803c5..0f429044 100644 --- a/test/utils.test.js +++ b/test/utils.test.js @@ -12,7 +12,7 @@ var mochaAsync = fn => { describe("Utils", function() { describe("greetings", function() { it("Says Hello World", function() { - assert.equal(utils.greetings("World"), "Hello World 👋👋"); + assert.equal(utils.greetings("Human"), "Hello World 👋👋"); }); it("Throws on missing params", function() { From 9869540a7c7ea77dc0207f325f8f673d1bdfc033 Mon Sep 17 00:00:00 2001 From: Anurenjini78 <78848039+Anurenjini78@users.noreply.github.com> Date: Mon, 29 Mar 2021 10:41:48 +0530 Subject: [PATCH 04/10] Update utils.test.js --- test/utils.test.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/utils.test.js b/test/utils.test.js index 0f429044..be1803c5 100644 --- a/test/utils.test.js +++ b/test/utils.test.js @@ -12,7 +12,7 @@ var mochaAsync = fn => { describe("Utils", function() { describe("greetings", function() { it("Says Hello World", function() { - assert.equal(utils.greetings("Human"), "Hello World 👋👋"); + assert.equal(utils.greetings("World"), "Hello World 👋👋"); }); it("Throws on missing params", function() { From fca0ae27f90167ad4218a02805b774416fc438a2 Mon Sep 17 00:00:00 2001 From: Anurenjini78 <78848039+Anurenjini78@users.noreply.github.com> Date: Mon, 29 Mar 2021 10:48:22 +0530 Subject: [PATCH 05/10] Update utils.test.js --- test/utils.test.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/utils.test.js b/test/utils.test.js index be1803c5..0f429044 100644 --- a/test/utils.test.js +++ b/test/utils.test.js @@ -12,7 +12,7 @@ var mochaAsync = fn => { describe("Utils", function() { describe("greetings", function() { it("Says Hello World", function() { - assert.equal(utils.greetings("World"), "Hello World 👋👋"); + assert.equal(utils.greetings("Human"), "Hello World 👋👋"); }); it("Throws on missing params", function() { From 364342b9e477636bfffcea6e22b255f073510582 Mon Sep 17 00:00:00 2001 From: Anurenjini78 <78848039+Anurenjini78@users.noreply.github.com> Date: Mon, 29 Mar 2021 10:55:36 +0530 Subject: [PATCH 06/10] Update utils.test.js --- test/utils.test.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/utils.test.js b/test/utils.test.js index 0f429044..be1803c5 100644 --- a/test/utils.test.js +++ b/test/utils.test.js @@ -12,7 +12,7 @@ var mochaAsync = fn => { describe("Utils", function() { describe("greetings", function() { it("Says Hello World", function() { - assert.equal(utils.greetings("Human"), "Hello World 👋👋"); + assert.equal(utils.greetings("World"), "Hello World 👋👋"); }); it("Throws on missing params", function() { From 60e1ac8d56e3690bea6d1abee6b804d365a25058 Mon Sep 17 00:00:00 2001 From: AravindaSB <79310072+AravindaSB@users.noreply.github.com> Date: Mon, 29 Mar 2021 10:57:44 +0530 Subject: [PATCH 07/10] Create opened-issues-triage.yml --- .github/workflows/opened-issues-triage.yml | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 .github/workflows/opened-issues-triage.yml diff --git a/.github/workflows/opened-issues-triage.yml b/.github/workflows/opened-issues-triage.yml new file mode 100644 index 00000000..e93ab0cf --- /dev/null +++ b/.github/workflows/opened-issues-triage.yml @@ -0,0 +1,15 @@ +name: Move new issues into Triage + +on: + issues: + types: [opened] + +jobs: + automate-project-columns: + runs-on: ubuntu-latest + steps: + - uses: alex-page/github-project-automation-plus@v0.3.0 + with: + project: Backlog + column: Triage + repo-token: ${{ secrets.GITHUB_TOKEN }} From 17f51b7c79165aebc69f7408b3c3e862c5826508 Mon Sep 17 00:00:00 2001 From: AravindaSB <79310072+AravindaSB@users.noreply.github.com> Date: Mon, 29 Mar 2021 10:58:15 +0530 Subject: [PATCH 08/10] Create assigned-pulls-todo.yml --- .github/workflows/assigned-pulls-todo.yml | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 .github/workflows/assigned-pulls-todo.yml diff --git a/.github/workflows/assigned-pulls-todo.yml b/.github/workflows/assigned-pulls-todo.yml new file mode 100644 index 00000000..7b93cfc2 --- /dev/null +++ b/.github/workflows/assigned-pulls-todo.yml @@ -0,0 +1,15 @@ +name: Move assigned pull requests into To do + +on: + pull_request: + types: [assigned] + +jobs: + automate-project-columns: + runs-on: ubuntu-latest + steps: + - uses: alex-page/github-project-automation-plus@v0.3.0 + with: + project: Backlog + column: To do + repo-token: ${{ secrets.GITHUB_TOKEN }} From 6dcf39c80a49314c1871e5e61d34492c389d2473 Mon Sep 17 00:00:00 2001 From: AravindaSB <79310072+AravindaSB@users.noreply.github.com> Date: Mon, 29 Mar 2021 11:08:02 +0530 Subject: [PATCH 09/10] Update opened-issues-triage.yml --- .github/workflows/opened-issues-triage.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/opened-issues-triage.yml b/.github/workflows/opened-issues-triage.yml index e93ab0cf..5a8fc6b1 100644 --- a/.github/workflows/opened-issues-triage.yml +++ b/.github/workflows/opened-issues-triage.yml @@ -10,6 +10,6 @@ jobs: steps: - uses: alex-page/github-project-automation-plus@v0.3.0 with: - project: Backlog - column: Triage - repo-token: ${{ secrets.GITHUB_TOKEN }} + project: Welcome + column: To Do + repo-token: ${{ secrets.GH_TOKEN }} From 8ee486074c1afb7c9c32c9b0e5e0cb14e7ede8a7 Mon Sep 17 00:00:00 2001 From: AravindaSB <79310072+AravindaSB@users.noreply.github.com> Date: Mon, 29 Mar 2021 11:08:48 +0530 Subject: [PATCH 10/10] Update assigned-pulls-todo.yml --- .github/workflows/assigned-pulls-todo.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/assigned-pulls-todo.yml b/.github/workflows/assigned-pulls-todo.yml index 7b93cfc2..0940d642 100644 --- a/.github/workflows/assigned-pulls-todo.yml +++ b/.github/workflows/assigned-pulls-todo.yml @@ -10,6 +10,6 @@ jobs: steps: - uses: alex-page/github-project-automation-plus@v0.3.0 with: - project: Backlog - column: To do - repo-token: ${{ secrets.GITHUB_TOKEN }} + project: Welcome + column: Done + repo-token: ${{ secrets.GH_TOKEN }}