From 8e8964615796a3b66ee50eac817132bdc7bae20a Mon Sep 17 00:00:00 2001 From: Mateusz Urbanek Date: Thu, 10 Oct 2024 18:46:39 +0200 Subject: [PATCH] ci: add semantic-pr action Signed-off-by: Mateusz Urbanek --- .github/workflows/semantic-pr.yaml | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 .github/workflows/semantic-pr.yaml diff --git a/.github/workflows/semantic-pr.yaml b/.github/workflows/semantic-pr.yaml new file mode 100644 index 0000000..7bcf129 --- /dev/null +++ b/.github/workflows/semantic-pr.yaml @@ -0,0 +1,20 @@ +name: semantic-pr +on: + pull_request_target: + types: + - opened + - reopened + - edited + - synchronize +permissions: + pull-requests: read +jobs: + pr-title: + runs-on: ubuntu-latest + steps: + - uses: amannn/action-semantic-pull-request@v5 + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + with: + requireScope: true + subjectPattern: ^(?![A-Z]).+$