Minor fix and update to example 2 #5289
Workflow file for this run
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: | |
| if: github.repository_owner == 'MicrosoftDocs' | |
| uses: MicrosoftDocs/microsoft-365-docs/.github/workflows/Shared-PrFileCount.yml@workflows-prod | |
| with: | |
| PayloadJson: ${{ toJSON(github) }} | |
| secrets: | |
| AccessToken: ${{ secrets.GITHUB_TOKEN }} |