Skip to content

[DRAFT] ci: add reviewers workflow #3

[DRAFT] ci: add reviewers workflow

[DRAFT] ci: add reviewers workflow #3

# Add `needs-starcraft-review` if starcraft-reviewers is added as a reviewer
name: add-reviewer-label
on:
pull_request:
types:
- review_requested
jobs:
add-reviewer-label:
runs-on: ubuntu-latest
steps:
- name: Add 'needs-starcraft-review' label
uses: octokit/[email protected]
with:
route: POST /repos/${{ github.repository }}/issues/$ {{ github.event.pull_request.number }}/labels
mediaType: 'application/vnd.github.v3+json'
labels: need-starcraft-review
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}