Skip to content

Commit 2f1bdfe

Browse files
committed
fixup again pr-comment
Signed-off-by: Frederic BIDON <fredbi@yahoo.com>
1 parent 64323ac commit 2f1bdfe

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.github/workflows/pr-comment.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,8 @@ jobs:
6464
steps:
6565
- name: Validate inputs
6666
run: |
67-
if ! [[ "${{ env.TARGET }}" =~ "^go-openapi\/.*$" ]] ; then
67+
rex='^go-openapi\/.*$'
68+
if ! [[ "${{ env.TARGET }}" =~ $rex ]] ; then
6869
echo "This workflow only applies to target repos in github.com/go-openapi."
6970
exit 1
7071
fi

0 commit comments

Comments
 (0)