diff --git a/.github/workflows/pr-title-check.yml b/.github/workflows/pr-title-check.yml index 5331fba5..66dd5ea4 100644 --- a/.github/workflows/pr-title-check.yml +++ b/.github/workflows/pr-title-check.yml @@ -1,7 +1,7 @@ name: .Platform - Semantic PR Check on: - pull_request_target: + pull_request: types: - opened - edited @@ -11,6 +11,8 @@ jobs: main: name: Validate PR Title runs-on: ubuntu-latest + permissions: + pull-requests: read steps: - uses: amannn/action-semantic-pull-request@0723387faaf9b38adef4775cd42cfd5155ed6017 # v5.5.3 env: