Teams review support #40
Workflow file for this run
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: 'Component Owners' | |
on: | |
# pull_request_target is needed instead of just pull_request | |
# because repository write permission is needed to assign reviewers | |
pull_request_target: | |
permissions: | |
contents: read # to read changed files | |
issues: write # to read/write issue assignees | |
pull-requests: write # to read/write PR reviewers | |
jobs: | |
run_self: | |
runs-on: ubuntu-latest | |
name: Auto Assign Owners | |
steps: | |
- uses: dyladan/component-owners@main |