2021-09-17 20:27:09 +00:00
|
|
|
name: 'Automate assigning team for review.'
|
2022-05-27 11:05:54 +00:00
|
|
|
on:
|
|
|
|
pull_request:
|
|
|
|
types: [opened, ready_for_review]
|
|
|
|
|
2021-09-17 20:27:09 +00:00
|
|
|
jobs:
|
2022-05-27 11:05:54 +00:00
|
|
|
add-reviews:
|
2022-08-04 09:06:13 +00:00
|
|
|
if: github.event.pull_request.draft == false && github.actor != 'dependabot[bot]'
|
2022-05-27 11:05:54 +00:00
|
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
|
|
- name: Check config and assign reviews
|
|
|
|
uses: acq688/Request-Reviewer-For-Team-Action@v1.1
|
|
|
|
with:
|
|
|
|
config: '.github/automate-team-review-assignment-config.yml'
|
2024-07-24 11:23:53 +00:00
|
|
|
GITHUB_TOKEN: ${{ secrets.PR_ASSIGN_TOKEN }}
|