diff --git a/.github/workflows/semantic-pr.yml b/.github/workflows/semantic-pr.yml new file mode 100644 index 000000000..460acf237 --- /dev/null +++ b/.github/workflows/semantic-pr.yml @@ -0,0 +1,21 @@ +name: Check semantic PR titles + +on: + pull_request_target: + types: + - opened + - edited + - reopened + - synchronize + +permissions: + contents: read + +jobs: + title-check: + runs-on: ubuntu-latest + steps: + - name: Check PR Title's semantic conformance + uses: amannn/action-semantic-pull-request@v5 + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}