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]).+$