disable half of funny review labeler (#3414)
Co-authored-by: deltanedas <@deltanedas:kde.org>
This commit is contained in:
parent
1be6959466
commit
3e1d5d5750
|
|
@ -23,22 +23,23 @@ jobs:
|
|||
with:
|
||||
labels: "S: Awaiting Changes"
|
||||
|
||||
handle_review:
|
||||
runs-on: ubuntu-latest
|
||||
if: github.event_name == 'pull_request_review'
|
||||
steps:
|
||||
- uses: actions-ecosystem/action-add-labels@v1
|
||||
if: |
|
||||
github.event.review.state == 'changes_requested' &&
|
||||
(github.event.review.author_association == 'OWNER' ||
|
||||
github.event.review.author_association == 'MEMBER')
|
||||
with:
|
||||
labels: "S: Awaiting Changes"
|
||||
|
||||
- uses: actions-ecosystem/action-remove-labels@v1
|
||||
if: |
|
||||
github.event.review.state == 'changes_requested' &&
|
||||
(github.event.review.author_association == 'OWNER' ||
|
||||
github.event.review.author_association == 'MEMBER')
|
||||
with:
|
||||
labels: "S: Needs Review"
|
||||
# Doesn't work on prs from foreign repos currently
|
||||
#handle_review:
|
||||
# runs-on: ubuntu-latest
|
||||
# if: github.event_name == 'pull_request_review'
|
||||
# steps:
|
||||
# - uses: actions-ecosystem/action-add-labels@v1
|
||||
# if: |
|
||||
# github.event.review.state == 'changes_requested' &&
|
||||
# (github.event.review.author_association == 'OWNER' ||
|
||||
# github.event.review.author_association == 'MEMBER')
|
||||
# with:
|
||||
# labels: "S: Awaiting Changes"
|
||||
#
|
||||
# - uses: actions-ecosystem/action-remove-labels@v1
|
||||
# if: |
|
||||
# github.event.review.state == 'changes_requested' &&
|
||||
# (github.event.review.author_association == 'OWNER' ||
|
||||
# github.event.review.author_association == 'MEMBER')
|
||||
# with:
|
||||
# labels: "S: Needs Review"
|
||||
|
|
|
|||
Loading…
Reference in New Issue