From 9879004ae38ed5d7c2d478c35b10a97e326c4926 Mon Sep 17 00:00:00 2001 From: Amir Raminfar Date: Mon, 16 Oct 2023 10:11:14 -0700 Subject: [PATCH] feat: adds workflow for semantic messages --- .github/workflows/pr.yml | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 .github/workflows/pr.yml diff --git a/.github/workflows/pr.yml b/.github/workflows/pr.yml new file mode 100644 index 00000000..d54e1749 --- /dev/null +++ b/.github/workflows/pr.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 }}