Skip to content

Lamps separated into on and off, Library lamps start on and Mining Gateway Medikits aren't empty #9334

Lamps separated into on and off, Library lamps start on and Mining Gateway Medikits aren't empty

Lamps separated into on and off, Library lamps start on and Mining Gateway Medikits aren't empty #9334

name: Codeowner Reviews
# Controls when the workflow will run
on:
pull_request_target:
types: [opened, synchronize, reopened, ready_for_review]
jobs:
assign-users:
runs-on: ubuntu-latest
steps:
# Checks-out your repository under $GITHUB_WORKSPACE, so the job can access it
- uses: actions/checkout@v3
#Parse the Codeowner file on non draft PRs
- name: CodeOwnersParser
if: github.event.pull_request.draft == false
id: CodeOwnersParser
uses: tgstation/CodeOwnersParser@v1
#Request reviews
- name: Request reviews
if: steps.CodeOwnersParser.outputs.owners != ''
uses: tgstation/RequestReviewFromUser@v1
with:
separator: ' '
users: ${{ steps.CodeOwnersParser.outputs.owners }}