From f8ef12e018009ec1c8b4d554829156e93c9a5b98 Mon Sep 17 00:00:00 2001 From: Ying Shaodong Date: Thu, 15 Aug 2024 16:24:39 +0800 Subject: [PATCH] fix: validate action issue --- .github/workflows/validate.yml | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 .github/workflows/validate.yml diff --git a/.github/workflows/validate.yml b/.github/workflows/validate.yml new file mode 100644 index 0000000..34fbb3d --- /dev/null +++ b/.github/workflows/validate.yml @@ -0,0 +1,15 @@ +name: validate + +on: + pull_request: + types: [opened, synchronize, reopened, edited] + +jobs: + pr-title: + runs-on: ubuntu-latest + steps: + - name: validate-pr-title + uses: ytanikin/PRConventionalCommits@1.2.0 + with: + task_types: '["feat", "fix", "docs", "test", "ci", "refactor", "perf", "chore", "revert"]' + add_label: 'true'