mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-28 23:58:07 +01:00
Use new tgstation/code-reviewers github action (#96346)
## About The Pull Request Replaces the existing code reviewer's workflow with the new [one](https://github.com/tgstation/code-reviewers) See [here](https://github.com/tgstation/code-reviewers/pull/1) on why this is better. ## Changelog N/A
This commit is contained in:
@@ -14,16 +14,9 @@ jobs:
|
||||
# Checks-out your repository under $GITHUB_WORKSPACE, so the job can access it
|
||||
- uses: actions/checkout@v6
|
||||
|
||||
#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
|
||||
#Request reviews
|
||||
- name: Request reviews
|
||||
if: steps.CodeOwnersParser.outputs.owners != ''
|
||||
uses: tgstation/RequestReviewFromUser@v1
|
||||
if: github.event.pull_request.draft == false
|
||||
uses: tgstation/code-reviewers@main
|
||||
with:
|
||||
separator: " "
|
||||
users: ${{ steps.CodeOwnersParser.outputs.owners }}
|
||||
token: ${{ secrets.GITHUB_TOKEN }}
|
||||
|
||||
Reference in New Issue
Block a user