add pull_request_target event #6
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] | ||
jobs: | ||
auto-label-assign: | ||
uses: MicrosoftDocs/OfficeDocs-NotInBuild-pr/.github/workflows/AutoLabelAssign.yml@main | ||
Check failure on line 12 in .github/workflows/AutoLabelAssign.yml GitHub Actions / .github/workflows/AutoLabelAssign.ymlInvalid workflow file
|
||
with: | ||
PayloadJson: ${{ toJSON(github) }} | ||
AutoAssignUsers: 1 | ||
AutoLabel: 1 | ||
ExcludedUserList: '["user1", "user2"]' | ||
ExcludedBranchList: '["branch1", "branch2"]' | ||
secrets: | ||
AccessToken: ${{ secrets.GITHUB_TOKEN }} | ||