diff --git a/.github/workflows/pr-labeler.yml b/.github/workflows/pr-labeler.yml index 278cd980d73..ce217ac9efb 100644 --- a/.github/workflows/pr-labeler.yml +++ b/.github/workflows/pr-labeler.yml @@ -4,15 +4,16 @@ name: Size Labeler/Checker on: - pull_request: + pull_request_target: types: - opened - synchronize - jobs: label-changes: runs-on: ubuntu-latest - + permissions: + contents: read + pull-requests: write steps: - name: Run actions/checkout@v4 uses: actions/checkout@v4