From 1f669c3cc53ed1e6b8777da835dac2b240e691b4 Mon Sep 17 00:00:00 2001 From: "trop[bot]" <37223003+trop[bot]@users.noreply.github.com> Date: Thu, 21 Apr 2022 14:55:29 -0700 Subject: [PATCH] chore: use semantic-commit-action (#33863) * chore: use semantic-commit-action * Update semantic.yml Co-authored-by: Jeremy Rose Co-authored-by: Jeremy Rose --- .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