26 lines
615 B
YAML
26 lines
615 B
YAML
name: Auto Assign PR
|
|
|
|
on:
|
|
pull_request_target:
|
|
types: [opened, reopened, ready_for_review]
|
|
|
|
permissions:
|
|
contents: read
|
|
pull-requests: write
|
|
|
|
jobs:
|
|
auto-assign:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: Checkout for config
|
|
uses: actions/checkout@v7
|
|
with:
|
|
ref: ${{ github.event.pull_request.base.ref }}
|
|
sparse-checkout: .github/auto-assign-config.yml
|
|
sparse-checkout-cone-mode: false
|
|
|
|
- name: Auto Assign PR Author
|
|
uses: kentaro-m/auto-assign-action@v2.0.2
|
|
with:
|
|
configuration-path: '.github/auto-assign-config.yml'
|