From 932340e8ae3f0796c9bd2e1c15e1c829b4a04bf1 Mon Sep 17 00:00:00 2001 From: Albert Date: Sat, 11 Jul 2026 05:35:05 +0000 Subject: [PATCH] ci: add semantic PR title workflow --- .github/workflows/semantic-pr.yml | 34 +++++++++++++++++++++++++++++++ 1 file changed, 34 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 0000000..28320d2 --- /dev/null +++ b/.github/workflows/semantic-pr.yml @@ -0,0 +1,34 @@ +name: Semantic Pull Request + +on: + pull_request_target: + types: + - opened + - edited + - synchronize + +permissions: + pull-requests: read + +jobs: + semantic-pr: + name: Validate PR title + runs-on: ubuntu-latest + steps: + - name: Validate title + uses: amannn/action-semantic-pull-request@v5 + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + with: + types: | + feat + fix + perf + revert + docs + style + chore + refactor + test + build + ci