22 lines
725 B
YAML
22 lines
725 B
YAML
# This action assigns and requires approval from owners of components for
|
|
# PRs that are open against those components. Components are defined as
|
|
# individual paths within this repository.
|
|
name: 'Component Owners'
|
|
|
|
on:
|
|
pull_request_target:
|
|
|
|
jobs:
|
|
run_self:
|
|
runs-on: ubuntu-latest
|
|
name: Auto Assign Owners
|
|
permissions:
|
|
contents: read # to read changed files
|
|
issues: write # to read/write issue assignees
|
|
pull-requests: write # to read/write PR reviewers
|
|
# Don't fail tests if this workflow fails. Some pending issues:
|
|
# - https://github.com/dyladan/component-owners/issues/8
|
|
continue-on-error: true
|
|
steps:
|
|
- uses: dyladan/component-owners@main
|