From 683394d247cf44a4e620e1d25f51b1c8caef88d6 Mon Sep 17 00:00:00 2001 From: go-to-k <24818752+go-to-k@users.noreply.github.com> Date: Sat, 17 Aug 2024 02:29:27 +0900 Subject: [PATCH] ci: PR-Lint for PR titles --- .github/workflows/semantic-pull-request.yml | 42 +++++++++++++++++++++ 1 file changed, 42 insertions(+) create mode 100644 .github/workflows/semantic-pull-request.yml diff --git a/.github/workflows/semantic-pull-request.yml b/.github/workflows/semantic-pull-request.yml new file mode 100644 index 0000000..acce435 --- /dev/null +++ b/.github/workflows/semantic-pull-request.yml @@ -0,0 +1,42 @@ +name: "Lint PR" + +on: + pull_request: + types: + - opened + - edited + - synchronize + - reopened + +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 }} + with: + types: | + feat + fix + chore + docs + style + refactor + perf + test + ci + scopes: | + deps + main + app + action + io + types + version + client + requireScope: false \ No newline at end of file