It previously only applied automatically to PRs that have reviews requested, which happens if the PR touches files owned by code owners. Now it applies to *all* opened PRs.
17 lines
351 B
YAML
17 lines
351 B
YAML
name: "Labels: Review"
|
|
|
|
on:
|
|
pull_request_target:
|
|
types: [review_requested, opened]
|
|
|
|
jobs:
|
|
add_label:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions-ecosystem/action-add-labels@v1
|
|
with:
|
|
labels: "S: Needs Review"
|
|
- uses: actions-ecosystem/action-remove-labels@v1
|
|
with:
|
|
labels: "S: Awaiting Changes"
|