From b9f8d85c655174acecabcafef795fc3f25d21d35 Mon Sep 17 00:00:00 2001 From: Jun Yang Date: Mon, 20 Mar 2023 23:04:13 +0800 Subject: [PATCH] chore: add PR title checker --- .github/workflows/pr.yml | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 .github/workflows/pr.yml diff --git a/.github/workflows/pr.yml b/.github/workflows/pr.yml new file mode 100644 index 000000000..2a17906ac --- /dev/null +++ b/.github/workflows/pr.yml @@ -0,0 +1,17 @@ +name: "PR Title Checker" + +on: + pull_request_target: + types: + - opened + - edited + - synchronize + +jobs: + main: + name: Validate PR title + runs-on: ubuntu-latest + steps: + - uses: amannn/action-semantic-pull-request@v5 + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} \ No newline at end of file