From e9c69a5750ff6eeff19e39e7a2fe76b383c3d934 Mon Sep 17 00:00:00 2001 From: Erick Zhao Date: Tue, 3 May 2022 12:29:05 -0700 Subject: [PATCH] chore: use action-semantic-pull-request (#220) --- .github/workflows/semantic.yml | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 .github/workflows/semantic.yml diff --git a/.github/workflows/semantic.yml b/.github/workflows/semantic.yml new file mode 100644 index 000000000..11d62c9d6 --- /dev/null +++ b/.github/workflows/semantic.yml @@ -0,0 +1,20 @@ +name: "Check Semantic Commit" + +on: + pull_request_target: + types: + - opened + - edited + - synchronize + +jobs: + main: + name: Validate PR Title + runs-on: ubuntu-latest + steps: + - name: semantic-pull-request + uses: amannn/action-semantic-pull-request@v4 + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + with: + validateSingleCommit: false