diff --git a/.github/workflows/assigned-pulls-todo.yml b/.github/workflows/assigned-pulls-todo.yml new file mode 100644 index 00000000..0940d642 --- /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: Welcome + column: Done + repo-token: ${{ secrets.GH_TOKEN }} diff --git a/.github/workflows/code-quality.yml b/.github/workflows/code-quality.yml new file mode 100644 index 00000000..7ab56746 --- /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.1001' + max_complex_functions_rate: '0.0001' + max_long_functions_rate: '0.0001' + project_name: '' + max_timeout_sec: '600' diff --git a/.github/workflows/opened-issues-triage.yml b/.github/workflows/opened-issues-triage.yml new file mode 100644 index 00000000..5a8fc6b1 --- /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: Welcome + column: To Do + repo-token: ${{ secrets.GH_TOKEN }}