From b7a44481fa7597830a88bbec43a3099b19b27be4 Mon Sep 17 00:00:00 2001 From: Yuan Tang Date: Wed, 5 Feb 2025 21:45:25 -0500 Subject: [PATCH] ci: Add semantic PR title check Signed-off-by: Yuan Tang --- .github/workflows/semantic-pr.yml | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 .github/workflows/semantic-pr.yml diff --git a/.github/workflows/semantic-pr.yml b/.github/workflows/semantic-pr.yml new file mode 100644 index 000000000..cbc0e7de6 --- /dev/null +++ b/.github/workflows/semantic-pr.yml @@ -0,0 +1,21 @@ +name: Semantic PR + +on: + pull_request_target: + types: + - opened + - edited + - reopened + - synchronize + +permissions: + contents: read + +jobs: + title-check: + runs-on: ubuntu-24.04 + steps: + - name: Check PR Title's semantic conformance + uses: amannn/action-semantic-pull-request@0723387faaf9b38adef4775cd42cfd5155ed6017 # v5.5.3 + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}