Skip to content

.github/workflows/on-pr-review-submit.yml #415

.github/workflows/on-pr-review-submit.yml

.github/workflows/on-pr-review-submit.yml #415

on:
pull_request_review:
types: [submitted]
permissions:
contents: read
pull-requests: write
jobs:
update-labels:
if: github.event.review.state == 'changes_requested'
runs-on: ubuntu-latest
steps:
- uses: actions-ecosystem/action-add-labels@v1
with:
labels: S-waiting-on-author
- uses: actions-ecosystem/action-remove-labels@v1
with:
labels: S-waiting-on-review