From 0913d9c3d4a4b14eac22a6d9b1b6b7af1fc19f41 Mon Sep 17 00:00:00 2001 From: wangbill <12449837+YunchuWang@users.noreply.github.com> Date: Fri, 5 Apr 2024 12:34:31 -0700 Subject: [PATCH] (ci): Create pr_title_enforcer.yml (#1464) --- .github/workflows/pr_title_enforcer.yml | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 .github/workflows/pr_title_enforcer.yml diff --git a/.github/workflows/pr_title_enforcer.yml b/.github/workflows/pr_title_enforcer.yml new file mode 100644 index 00000000..f9f6c919 --- /dev/null +++ b/.github/workflows/pr_title_enforcer.yml @@ -0,0 +1,20 @@ +name: "PR Title Enforcer" + +on: + pull_request: + 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 }}