feat(RSS-ECOMM-5_96): delete coupons #172
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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"]' |