diff --git a/.github/workflows/pr-checks.yaml b/.github/workflows/pr-checks.yaml new file mode 100644 index 0000000..8128359 --- /dev/null +++ b/.github/workflows/pr-checks.yaml @@ -0,0 +1,10 @@ +name: Lint Commit Messages +on: [pull_request] + +# TODO: we clould run other checks as well (e.g. tf linting, docs creation etc.), maybe even via pre-commit +jobs: + commitlint: + runs-on: [self-hosted, x64, linux, ephemeral, zon-image-latest] + steps: + - uses: actions/checkout@v3 + - uses: wagoid/commitlint-github-action@v5