Skip to content

chore: bump the production-dependencies group across 1 directory with 25 updates #67

chore: bump the production-dependencies group across 1 directory with 25 updates

chore: bump the production-dependencies group across 1 directory with 25 updates #67

name: Request Review on PR Open
on:
pull_request:
types: [opened]
jobs:
automate-review:
permissions:
contents: read
pull-requests: write
runs-on: ubuntu-latest
steps:
- name: Get PR Author
id: pr_author
run: echo "::set-output name=author::${{ github.event.pull_request.user.login }}"
- name: Request Review
if: steps.pr_author.outputs.author == 'Yuliya-Karuk'
uses: octokit/[email protected]
with:
route: POST /repos/${{ github.repository }}/pulls/${{ github.event.pull_request.number }}/requested_reviewers
mediaType: '{"previews":["luke-cage"]}'
token: ${{ secrets.MY_REPO_TOKEN }}
reviewers: '["The-Dmitry", "YulikK", "SpaNb4"]'
- name: Request Review
if: steps.pr_author.outputs.author == 'The-Dmitry'
uses: octokit/[email protected]
with:
route: POST /repos/${{ github.repository }}/pulls/${{ github.event.pull_request.number }}/requested_reviewers
mediaType: '{"previews":["luke-cage"]}'
token: ${{ secrets.MY_REPO_TOKEN }}
reviewers: '["Yuliya-Karuk", "YulikK", "SpaNb4"]'
- name: Request Review
if: steps.pr_author.outputs.author == 'YulikK'
uses: octokit/[email protected]
with:
route: POST /repos/${{ github.repository }}/pulls/${{ github.event.pull_request.number }}/requested_reviewers
mediaType: '{"previews":["luke-cage"]}'
token: ${{ secrets.MY_REPO_TOKEN }}
reviewers: '["Yuliya-Karuk", "The-Dmitry", "SpaNb4"]'