mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-01-25 16:45:42 +00:00
Bumps up several GitHub `actions` to the Node 20 Version (#81770) Node 16 actions are deprecated, we need to use Node 20 actions now (as noted by this handy screenshot which spams it on every CI run)  You may see https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/ for more information. Co-authored-by: san7890 <the@san7890.com>
27 lines
666 B
YAML
27 lines
666 B
YAML
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@v4
|
|
|
|
#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 }}
|