Skip to content

Commit 40cfdaf

Browse files
committed
Accept a boolean value being entered as a string.
Be slightly more tolerant if the the input is runner_org: "yes" # string instead of runner_org: yes # boolean
1 parent 92cd280 commit 40cfdaf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tasks/assert.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,6 @@
1717
- name: Check runner_org variable (RUN ONCE)
1818
assert:
1919
that:
20-
- runner_org == True or runner_org == False
20+
- runner_org | bool == True or runner_org == False
2121
fail_msg: "runner_org should be a boolean value"
2222
run_once: yes

0 commit comments

Comments
 (0)