diff --git a/.github/workflows/pr-check.yml b/.github/workflows/pr-check.yml new file mode 100644 index 0000000..af847b2 --- /dev/null +++ b/.github/workflows/pr-check.yml @@ -0,0 +1,20 @@ +name: 'Lint PR' + +on: + pull_request_target: + types: + - opened + - reopened + - edited + # - synchronize (if you use required Actions) + +jobs: + main: + name: Validate PR title + runs-on: ubuntu-slim + permissions: + pull-requests: read + steps: + - uses: amannn/action-semantic-pull-request@v6 + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}