Skip to content

feat(RSS-ECOMM-5_87): add BroadcastChannel for synchronization #191

feat(RSS-ECOMM-5_87): add BroadcastChannel for synchronization

feat(RSS-ECOMM-5_87): add BroadcastChannel for synchronization #191

Workflow file for this run

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 == 'stardustmeg'
uses: octokit/[email protected]
with:
route: POST /repos/${{ github.repository }}/pulls/${{ github.event.pull_request.number }}/requested_reviewers
mediaType: '{"previews":["luke-cage"]}'
token: ${{ secrets.GITHUB_TOKEN }}
reviewers: '["Kleostro", "YulikK"]'
- name: Request Review
if: steps.pr_author.outputs.author == 'Kleostro'
uses: octokit/[email protected]
with:
route: POST /repos/${{ github.repository }}/pulls/${{ github.event.pull_request.number }}/requested_reviewers
mediaType: '{"previews":["luke-cage"]}'
token: ${{ secrets.GITHUB_TOKEN }}
reviewers: '["stardustmeg", "YulikK"]'
- 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.GITHUB_TOKEN }}
reviewers: '["stardustmeg", "Kleostro"]'