mirror of
https://github.com/ceph/ceph-csi.git
synced 2024-11-26 08:10:20 +00:00
ci: do not leave testing comments on merged PRs
A PR with status `github.event.pull_request.merged == true` does not need to be tested again. Signed-off-by: Niels de Vos <ndevos@redhat.com>
This commit is contained in:
parent
c9ccbf29bb
commit
38c4832665
@ -10,7 +10,8 @@ on:
|
|||||||
- labeled
|
- labeled
|
||||||
jobs:
|
jobs:
|
||||||
add-comment:
|
add-comment:
|
||||||
if: github.event.label.name == 'ok-to-test'
|
# yamllint disable-line rule:line-length
|
||||||
|
if: github.event.label.name == 'ok-to-test' && github.event.pull_request.merged != 'true'
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
permissions:
|
permissions:
|
||||||
pull-requests: write
|
pull-requests: write
|
||||||
|
Loading…
Reference in New Issue
Block a user