mirror of
https://github.com/VOREStation/VOREStation.git
synced 2026-05-20 21:57:44 +01:00
0150ce8505
Bumps [actions/checkout](https://github.com/actions/checkout) from 5 to 6. - [Release notes](https://github.com/actions/checkout/releases) - [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md) - [Commits](https://github.com/actions/checkout/compare/v5...v6) --- updated-dependencies: - dependency-name: actions/checkout dependency-version: '6' dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
30 lines
822 B
YAML
30 lines
822 B
YAML
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
|
|
timeout-minutes: 5
|
|
|
|
steps:
|
|
# 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
|
|
- name: Request reviews
|
|
if: steps.CodeOwnersParser.outputs.owners != ''
|
|
uses: tgstation/RequestReviewFromUser@v1
|
|
with:
|
|
separator: " "
|
|
users: ${{ steps.CodeOwnersParser.outputs.owners }}
|