Skip to content

Commit ba0dbf5

Browse files
committed
ci: empty string makes contains true
1 parent bb22bb2 commit ba0dbf5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/ci.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,8 @@ jobs:
2828
matrix:
2929
node_version: [18, 20, 22]
3030
exclude:
31-
- node_version: ${{ contains('labeled,ready_for_review', github.event.action) && 18 }}
32-
- node_version: ${{ contains('labeled,ready_for_review', github.event.action) && 20 }}
31+
- node_version: ${{ (github.event.action == 'labeled' || github.event.action == 'ready_for_review') && 18 }}
32+
- node_version: ${{ (github.event.action == 'labeled' || github.event.action == 'ready_for_review') && 20 }}
3333

3434
steps:
3535
- name: Checkout

0 commit comments

Comments
 (0)