diff --git a/.github/workflows/check-pr-formatting.yml b/.github/workflows/check-pr-formatting.yml new file mode 100644 index 0000000000..396ecb4571 --- /dev/null +++ b/.github/workflows/check-pr-formatting.yml @@ -0,0 +1,15 @@ +name: Pull request formatting + +on: + pull_request: + branches: [ main, 0.x ] + types: [opened, synchronize, edited] + +jobs: + pr-formatting: + runs-on: ubuntu-latest + steps: + - name: Formatting conventions + uses: firebolt-db/action-pr-checks@main + with: + github-key: ${{ secrets.GITHUB_TOKEN }} diff --git a/.github/workflows/pull-request.yml b/.github/workflows/pull-request.yml index 9eab77e742..56180e4eb0 100644 --- a/.github/workflows/pull-request.yml +++ b/.github/workflows/pull-request.yml @@ -1,17 +1,10 @@ -name: Pull request +name: Pull request code checks on: pull_request: branches: [ main, 0.x ] jobs: - check-title: - runs-on: ubuntu-latest - steps: - - name: Check title name convention - uses: jef/conventional-commits-pr-action@v1.0.0 - with: - token: ${{ secrets.GITHUB_TOKEN }} code-checkers: uses: ./.github/workflows/code-check.yml unit-tests: