Closed beiertu-mms closed 4 months ago
@maxandersen I'm sorry, but this should now fix the error. I verify it with a simple workflow in my fork (https://github.com/beiertu-mms/jbang-action/pull/2).
Isn't it enough to have it be [ and ]?
Isn't it enough to have it be [ and ]?
you mean like this?
regex: ["Trusting permanently:", "https://github.com/jruby"]
Edit: or you mean to have it like this?
regex:
- "[Trusting permanently:]"
- "[https://github.com/jruby]"
this was missed because the container test file actually comes from github.com/jbangdev/jbang repo. 0.117.1 should have fix for this.
The brackets
[]
seems to cause the regex to be parsed wrongly when usingcontainer-structure-test
. Therefore, split it into multiple regex and check for each strings individually.Follow up of https://github.com/jbangdev/jbang-action/pull/36
Related to https://github.com/jbangdev/jbang-action/issues/35