Skip to content

Commit

Permalink
fix(check-url): fake user-agent (#316)
Browse files Browse the repository at this point in the history
  • Loading branch information
revolunet authored Mar 5, 2024
1 parent f78321a commit d450da5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion check-url/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ runs:
echo "testing URL $1"
wget -q -S --no-check-certificate "${INPUT_URL}"
wget -q -S --no-check-certificate --user-agent="Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/92.0.4515.159 Safari/537.36" "${INPUT_URL}"
if ! [ "$?" -ne 0 ];
then
Expand Down

0 comments on commit d450da5

Please sign in to comment.