We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 4063002 + cee0f1f commit 7c4933cCopy full SHA for 7c4933c
1 file changed
.github/workflows/validation.yaml
@@ -156,7 +156,8 @@ jobs:
156
REPOSITORY: ${{ needs.parse-issue.outputs.repository }}
157
run: |
158
share_link=$(docker extension share "$REPOSITORY")
159
- if [[ ! "$share_link" =~ ^https://[a-zA-Z0-9./?=_&%-]+$ ]]; then
+ url_regex='^https://[a-zA-Z0-9./?=_&%-]+$'
160
+ if [[ ! "$share_link" =~ $url_regex ]]; then
161
echo "Unexpected share link format" >> "$GITHUB_STEP_SUMMARY"
162
exit 1
163
fi
0 commit comments