Skip to content

Commit

Permalink
New workflow to apply the pr approved label
Browse files Browse the repository at this point in the history
  • Loading branch information
AJCM-git committed May 28, 2024
1 parent 1777eea commit 2586c90
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions .github/workflows/labeler-approved.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
name: "Labels: Approved"

on:
pull_request_review:
types: [submitted]

jobs:
add_label:
if: github.event.review.state == 'APPROVED'
runs-on: ubuntu-latest
steps:
- uses: actions-ecosystem/action-add-labels@v1
with:
labels: "PR: Approved"

0 comments on commit 2586c90

Please sign in to comment.