From 27bfc6642dd162f5959d248bde659a33d686def6 Mon Sep 17 00:00:00 2001 From: Samuele Mattiuzzo <1381563+samuele-mattiuzzo@users.noreply.github.com> Date: Thu, 13 Jun 2024 13:55:54 +0100 Subject: [PATCH] feat: Enable checks on PR titles --- .github/workflows/pull-request-checks.yml | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 .github/workflows/pull-request-checks.yml diff --git a/.github/workflows/pull-request-checks.yml b/.github/workflows/pull-request-checks.yml new file mode 100644 index 0000000..326c49f --- /dev/null +++ b/.github/workflows/pull-request-checks.yml @@ -0,0 +1,20 @@ +name: "Lint PR" + +on: + pull_request: + types: + - opened + - edited + - synchronize + +permissions: + pull-requests: read + +jobs: + main: + name: Validate PR title + runs-on: ubuntu-latest + steps: + - uses: amannn/action-semantic-pull-request@v5 + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}