feat(routing): route central views and camera facets #99
This file contains hidden or 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: Lint / Commits | |
| on: | |
| workflow_call: | |
| push: | |
| branches: [main] | |
| pull_request: | |
| branches: [main] | |
| permissions: | |
| contents: read | |
| concurrency: | |
| group: lint-commits-${{ github.ref }} | |
| cancel-in-progress: true | |
| jobs: | |
| lint-commits: | |
| runs-on: ubuntu-22.04 | |
| if: github.actor != 'dependabot[bot]' | |
| steps: | |
| - name: Check out repository | |
| uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0 | |
| with: | |
| fetch-depth: 0 | |
| - name: Check commits | |
| run: | | |
| invalid_commits="$(git log --format=%s --no-merges origin/main..HEAD | grep -Ev '^(build|ci|docs|feat|fix|perf|refactor|style|test|chore)(\([^)]+\))?: .+$' || true)" | |
| if [ -n "$invalid_commits" ]; then | |
| echo "Commit messages must follow the Conventional Commits format." | |
| printf '%s\n' "$invalid_commits" | |
| exit 1 | |
| fi | |
| shell: bash |