Add msft contrib workflow, background tasks; switch assign/label to background task; switch remaining to exit codes instead of statuses API #23
This file contains 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: Auto label and assign pull requests | |
permissions: | |
pull-requests: write | |
contents: read | |
on: [pull_request_target] | |
jobs: | |
auto-label-assign: | |
uses: MicrosoftDocs/microsoft-365-docs/.github/workflows/Shared-AutoLabelAssign.yml@workflows-prod | |
with: | |
PayloadJson: ${{ toJSON(github) }} | |
AutoAssignUsers: 1 | |
AutoLabel: 1 | |
ExcludedUserList: '["user1", "user2"]' | |
ExcludedBranchList: '["branch1", "branch2"]' | |
secrets: | |
AccessToken: ${{ secrets.GITHUB_TOKEN }} | |