Migrate pull request automation away from pull_request_target #55339
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: "Pull Request Labeler" | |
| on: | |
| pull_request: | |
| types: [opened, synchronize, reopened] | |
| permissions: | |
| contents: read | |
| pull-requests: read | |
| jobs: | |
| request-labels: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Request privileged labeling | |
| run: echo "Labels are applied by the workflow_run writer after re-validating the pull request." |