Skip to content

Commit

Permalink
[ISSUE #1590]Add Label approved pull requests action (#1591)
Browse files Browse the repository at this point in the history
  • Loading branch information
rocketmq-rust-bot authored Dec 5, 2024
1 parent 0117b9e commit 5b739fd
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions .github/workflows/label_approved_pull_requests.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
name: Label approved pull requests

on:
pull_request_review:
types: [submitted]

jobs:
labelWhenApproved:
name: Label when approved
runs-on: ubuntu-latest

steps:
- name: Label when approved
uses: pullreminders/label-when-approved-action@master
env:
APPROVALS: "1"
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
ADD_LABEL: "approved"
#REMOVE_LABEL: ""

0 comments on commit 5b739fd

Please # to comment.