mirror of
https://github.com/ceph/ceph-csi.git
synced 2024-11-22 14:20:19 +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
|
||||
jobs:
|
||||
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
|
||||
permissions:
|
||||
pull-requests: write
|
||||
|
Loading…
Reference in New Issue
Block a user