Skip to content

Commit

Permalink
Add workflow for auto change requested PR labels
Browse files Browse the repository at this point in the history
  • Loading branch information
Morb0 committed Aug 5, 2022
1 parent c8b4168 commit 0fdcab8
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions .github/workflows/labeler-changes.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
name: "Labels: Approve"

on:
pull_request_review:
types: [submitted]

jobs:
update_label:
if: github.event.review.state == 'changes_requested'
runs-on: ubuntu-latest
steps:
- uses: actions-ecosystem/action-add-labels@v1
with:
labels: "Status: Awaiting Changes"
- uses: actions-ecosystem/action-remove-labels@v1
with:
labels: "Status: Needs Review"

0 comments on commit 0fdcab8

Please sign in to comment.