Skip to content

Commit f66457b

Browse files
authored
Allow continue-on-error to be toggled directly (#80)
* Allow continue-on-error to be toggled directly * More direct way of setting continue on fail
1 parent 05351ae commit f66457b

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

.github/workflows/sanity.yml

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,6 +90,13 @@ on:
9090
]
9191
required: false
9292
type: string
93+
unstable:
94+
default: >-
95+
[
96+
"devel",
97+
]
98+
required: false
99+
type: string
93100

94101
jobs:
95102
sanity:
@@ -118,7 +125,7 @@ jobs:
118125
exclude: ${{ fromJSON(inputs.matrix_exclude) }}
119126
include: ${{ fromJSON(inputs.matrix_include) }}
120127
runs-on: ${{ matrix.os }}
121-
continue-on-error: ${{ matrix.ansible-version == 'devel' }}
128+
continue-on-error: ${{ contains(fromJSON(inputs.unstable), matrix.ansible-version) }}
122129

123130
name: "py${{ matrix.python-version }} / ${{ matrix.os }} / ${{ matrix.ansible-version }}"
124131
steps:

0 commit comments

Comments
 (0)