From 0c864837af77d6d8a59b6c44f982dcafc3d2fdde Mon Sep 17 00:00:00 2001 From: Jeremy Rose Date: Wed, 20 Apr 2022 13:49:59 -0700 Subject: [PATCH] chore: use semantic-commit-action (#33857) * chore: use semantic-commit-action * Update semantic.yml --- .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 0000000000000..11d62c9d62855 --- /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