From 15220254b2f27422fc4b87da6db5540daabea5d3 Mon Sep 17 00:00:00 2001 From: Fredrik Averpil Date: Mon, 24 Jun 2024 20:27:32 +0200 Subject: [PATCH] ci: conventional commits --- .github/workflows/pr.yml | 38 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 38 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 00000000..dd5e6713 --- /dev/null +++ b/.github/workflows/pr.yml @@ -0,0 +1,38 @@ +name: pr +on: + pull_request_target: + types: + - opened + - edited + - synchronize +permissions: + pull-requests: read +jobs: + main: + name: name + runs-on: ubuntu-latest + steps: + - uses: amannn/action-semantic-pull-request@v5 + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + with: + requireScope: true + subjectPattern: ^(?![A-Z]).+$ + scopes: | + .+ + types: | + build + chore + ci + docs + feat + fix + merge + perf + refactor + revert + style + test + wip + ignoreLabels: | + autorelease: pending