From 146b35ae597938a3c24ddb85b26d963e6d5b8793 Mon Sep 17 00:00:00 2001 From: Nikita Vasilev Date: Sat, 27 Dec 2025 11:13:15 +0400 Subject: [PATCH] chore(ci): add conventional-pr.yml for PR validation --- .github/workflows/conventional-pr.yml | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 .github/workflows/conventional-pr.yml diff --git a/.github/workflows/conventional-pr.yml b/.github/workflows/conventional-pr.yml new file mode 100644 index 0000000..e3ef03a --- /dev/null +++ b/.github/workflows/conventional-pr.yml @@ -0,0 +1,25 @@ +name: conventional-pr +on: + pull_request: + branches: + - main + types: + - opened + - edited + - synchronize +permissions: + contents: read + pull-requests: read + statuses: write +jobs: + lint-pr: + runs-on: ubuntu-latest + timeout-minutes: 15 + if: ${{ !startsWith(github.event.head_commit.message, '[Release]') }} + steps: + - uses: actions/checkout@v6 + - uses: amannn/action-semantic-pull-request@v6 + with: + requireScope: false + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} \ No newline at end of file