mirror of
https://github.com/ceph/ceph-csi.git
synced 2024-12-18 11:00:25 +00:00
ci: remove ok-to-test
label after commenting
Once the comments have been added, the `ok-to-test` label can be removed. This makes it possible to simplify the Mergify configuration. Signed-off-by: Niels de Vos <ndevos@redhat.com>
This commit is contained in:
parent
d9a70d696e
commit
3252c1e782
11
.github/workflows/pull-request-commentor.yaml
vendored
11
.github/workflows/pull-request-commentor.yaml
vendored
@ -113,3 +113,14 @@ jobs:
|
||||
issue-number: ${{ github.event.pull_request.number }}
|
||||
body: |
|
||||
/test ci/centos/upgrade-tests-rbd
|
||||
|
||||
- name: remove ok-to-test-label after commenting
|
||||
uses: actions/github-script@v6
|
||||
with:
|
||||
script: |
|
||||
github.rest.issues.removeLabel({
|
||||
issue_number: github.event.pull_request.number,
|
||||
owner: context.repo.owner,
|
||||
repo: context.repo.repo,
|
||||
name: ["ok-to-test"]
|
||||
})
|
||||
|
Loading…
Reference in New Issue
Block a user