Added support for a spectator role #9
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Quality Checks | |
on: | |
pull_request: | |
branches: | |
- main | |
- development | |
types: | |
- opened | |
- reopened | |
- synchronize | |
jobs: | |
commitlint: | |
name: Commitlint | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repository 🛎️ | |
uses: actions/checkout@v3 | |
- name: Run commitlint 🟩 | |
uses: sliit-foss/actions/quality-checks/commitlint@main | |
lint: | |
name: Enforce ESLint rules | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repository 🛎️ | |
uses: actions/checkout@v3 | |
- name: Run linter 📢 | |
uses: sliit-foss/actions/quality-checks/linter@main | |
format: | |
name: Format code | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repository 🛎️ | |
uses: actions/checkout@v3 | |
- name: Run formatter 🧹 | |
uses: sliit-foss/actions/quality-checks/formatter@main |