From f7fc3fc49bd54b415e10e182e756b42202192f17 Mon Sep 17 00:00:00 2001 From: wangbill <12449837+YunchuWang@users.noreply.github.com> Date: Fri, 5 Apr 2024 00:50:30 -0700 Subject: [PATCH] Create pr_title_enforcer.yml --- .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 0000000..f9f6c91 --- /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 }}