From b678d4f95123479e61cbedf281daefcece033fa8 Mon Sep 17 00:00:00 2001 From: Manuel <30572287+manuel-rw@users.noreply.github.com> Date: Sat, 25 May 2024 19:56:11 +0200 Subject: [PATCH] ci: validate pr title (#550) --- .github/workflows/pr-conventional-commits.yml | 20 +++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 .github/workflows/pr-conventional-commits.yml diff --git a/.github/workflows/pr-conventional-commits.yml b/.github/workflows/pr-conventional-commits.yml new file mode 100644 index 000000000..e3dfb587b --- /dev/null +++ b/.github/workflows/pr-conventional-commits.yml @@ -0,0 +1,20 @@ +name: "Lint PR" + +on: + pull_request_target: + 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 }} \ No newline at end of file