diff --git a/.github/labeler.yml b/.github/labeler.yml new file mode 100644 index 0000000..a1148df --- /dev/null +++ b/.github/labeler.yml @@ -0,0 +1,39 @@ +topic/functions: + - chapters/functions/**/* + +topic/multivar-power: + - chapters/multivariate-to-power/**/* + +topic/numbers-indices: + - chapters/numbers-to-indices/**/* + +topic/vectors-matrix: + - chapters/vectors-matrix-ops/**/* + +area/reading: + - '**/reading/*' + - '**/reading/**/*' + +area/media: + - '**/media/*' + - '**/media/**/*' + +area/slides: + - '**/slides/*' + - '**/slides/**/*' + +area/guides: + - '**/guides/*' + - '**/guides/**/*' + +area/drills: + - '**/drills/*' + - '**/drills/**/*' + +area/projects: + - '**/projects/*' + - '**/projects/**/*' + +area/infra: + - 'scripts/**/*' + - '.github/**/*' diff --git a/.github/pull_request_template.md b/.github/pull_request_template.md new file mode 100644 index 0000000..6f4f2be --- /dev/null +++ b/.github/pull_request_template.md @@ -0,0 +1,15 @@ +# Prerequisite Checklist + + + +- [ ] Read the [contribution guidelines](https://github.com/open-education-hub/ccas-internal/blob/main/CONTRIBUTING.md#pull-requests) regarding submitting new changes to the project; +- [ ] Tested your changes against relevant architectures and platforms; +- [ ] Updated relevant documentation (if needed). + +## Description of changes + + diff --git a/.github/workflows/actions.yml b/.github/workflows/actions.yml new file mode 100644 index 0000000..9e25a1f --- /dev/null +++ b/.github/workflows/actions.yml @@ -0,0 +1,34 @@ +name: Linter Actions Workflow + +on: + pull_request: + branches: + - main + +jobs: + checkpatch: + name: Checkpatch + runs-on: ubuntu-latest + steps: + - name: Checkpatch + uses: open-education-hub/actions/checkpatch@main + with: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + + super-linter: + name: Super Linter + runs-on: ubuntu-latest + steps: + - name: Super Linter + uses: open-education-hub/actions/super-linter@main + with: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + + spellcheck: + name: Spellcheck + runs-on: ubuntu-latest + steps: + - name: Spellcheck + uses: open-education-hub/actions/spellcheck@main + with: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} diff --git a/.github/workflows/labeler.yml b/.github/workflows/labeler.yml new file mode 100644 index 0000000..3c20656 --- /dev/null +++ b/.github/workflows/labeler.yml @@ -0,0 +1,16 @@ +name: Labeler Actions Workflow + +on: + schedule: + - cron: "0 */12 * * *" + workflow_dispatch: + +jobs: + labeler: + name: Labeler + runs-on: ubuntu-latest + steps: + - name: Labeler + uses: open-education-hub/actions/cron-labeler@main + with: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}