mirror of
https://github.com/vmware-tanzu/velero.git
synced 2026-01-07 13:55:20 +00:00
25 lines
811 B
YAML
25 lines
811 B
YAML
name: "Auto Assign PR Reviewers"
|
|
# pull_request_target means that this will run on pull requests, but in the context of the base repo.
|
|
# This should mean PRs from forks are supported.
|
|
on:
|
|
pull_request_target:
|
|
types: [opened, reopened, synchronize, ready_for_review]
|
|
|
|
jobs:
|
|
# Automatically assigns reviewers and owner
|
|
add-reviews:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: kentaro-m/auto-assign-action@v1.1.1
|
|
with:
|
|
configuration-path: ".github/auto_assign.yml"
|
|
repo-token: "${{ secrets.GITHUB_TOKEN }}"
|
|
# Automatically labels PRs based on file globs in the change.
|
|
triage:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/labeler@v3
|
|
with:
|
|
repo-token: "${{ secrets.GITHUB_TOKEN }}"
|
|
configuration-path: .github/labels.yaml
|