diff --git a/.github/workflows/conventional-prs.yml b/.github/workflows/conventional-prs.yml index ab3a344..c847324 100644 --- a/.github/workflows/conventional-prs.yml +++ b/.github/workflows/conventional-prs.yml @@ -1,5 +1,5 @@ --- -name: PR +name: "Lint PR" on: pull_request_target: types: @@ -8,12 +8,14 @@ on: - edited - synchronize +permissions: + pull-requests: read + jobs: - title-format: + main: + name: Validate PR title runs-on: ubuntu-latest steps: - - uses: amannn/action-semantic-pull-request@v4 + - uses: amannn/action-semantic-pull-request@v5 env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - with: - validateSingleCommit: true