diff --git a/.github/workflows/semantic-pull-requests.yaml b/.github/workflows/semantic-pull-requests.yaml new file mode 100644 index 0000000..1942820 --- /dev/null +++ b/.github/workflows/semantic-pull-requests.yaml @@ -0,0 +1,22 @@ +name: "Lint PR" + +on: + workflow_call: + secrets: + GIT_HUB_PAT: + description: "GitHub Personal Access Token for authentication" + required: true + +permissions: + pull-requests: write + +jobs: + main: + name: Validate PR title + runs-on: ubuntu-22.04 + steps: + - uses: amannn/action-semantic-pull-request@v5 + with: + wip: true + env: + GITHUB_TOKEN: ${{ secrets.GIT_HUB_PAT }}