Replace nearly every map grep with a YML file that actually respects structure, and fixes the massive amount of failures that were never caught #6185
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: Codeowner Reviews | |
# Controls when the workflow will run | |
on: pull_request_target | |
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 | |
- name: CodeOwnersParser | |
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 }} |