Unverified Commit 4fbf4aa1 authored by Kevin H. Luu's avatar Kevin H. Luu Committed by GitHub
Browse files

[ci] GHA workflow to remove ready label upon "/notready" comment (#6921)


Signed-off-by: default avatarkevin <kevin@anyscale.com>
parent aae6d36f
name: Remove ready Label on notready Comment
on:
issue_comment:
types: [created]
jobs:
add-ready-label:
runs-on: ubuntu-latest
if: github.event.issue.pull_request && contains(github.event.comment.body, '/notready')
steps:
- name: Remove ready label
uses: actions/github-script@v5
with:
script: |
github.rest.issues.removeLabel({
owner: context.repo.owner,
repo: context.repo.repo,
issue_number: context.issue.number,
name: 'ready'
})
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment