Update AutoLabelMsftContributor workflow from PAT to GH app #256
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: PR file count less than limit | |
| permissions: | |
| pull-requests: write | |
| statuses: write | |
| contents: read | |
| on: | |
| pull_request_target: | |
| types: [opened, reopened, synchronize, labeled, unlabeled, edited] | |
| jobs: | |
| file-count: | |
| uses: MicrosoftDocs/microsoft-365-docs/.github/workflows/Shared-PrFileCount.yml@workflows-prod | |
| with: | |
| PayloadJson: ${{ toJSON(github) }} | |
| secrets: | |
| AccessToken: ${{ secrets.GITHUB_TOKEN }} |