mirror of
https://github.com/ceph/ceph-csi.git
synced 2024-12-18 11:00:25 +00:00
ci: fix syntax error in pull-request-commenter
GitHub Workflow
The `ok-to-test` label does not work anymore, and the GitHub Workflow contains the following error: The workflow is not valid. .github/workflows/pull-request-commentor.yaml (Line: 15, Col: 9): Unrecognized named-value: 'ok-to-test'. Signed-off-by: Niels de Vos <ndevos@ibm.com>
This commit is contained in:
parent
cf0fd2bfeb
commit
27dc4f0fde
@ -11,10 +11,9 @@ on:
|
||||
- opened
|
||||
jobs:
|
||||
add-comment:
|
||||
# yamllint disable-line rule:line-length
|
||||
if: (github.event.pull_request.label == ok-to-test && \
|
||||
if: (github.event.pull_request.label == 'ok-to-test' && \
|
||||
github.event.pull_request.merged != 'true') || \
|
||||
(github.event.pull_request.action == opened && \
|
||||
(github.event.pull_request.action == 'opened' && \
|
||||
contains(github.event.pull_request.labels.*.name,'ok-to-test'))
|
||||
runs-on: ubuntu-latest
|
||||
permissions:
|
||||
|
Loading…
Reference in New Issue
Block a user