Skip to content

Commit

Permalink
chore: Update theme_auto_label.yml with additional environment variables
Browse files Browse the repository at this point in the history
  • Loading branch information
error7404 committed Aug 21, 2024
1 parent 41faf30 commit 388907f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/theme_auto_label.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,12 +44,12 @@ jobs:
if ! curl --output /dev/null --silent --head --fail "$URL" -H "User-Agent: $USER_AGENT"; then
echo "url_valid=false" >> $GITHUB_OUTPUT
echo "❌ Error: Request Failed ($(curl --output /dev/null --silent --head --fail "$URL" -H "User-Agent: $USER_AGENT" -w "%{http_code}"))" >> $GITHUB_STEP_SUMMARY
echo "URL is invalid or Cloudflare issue or site is down" >> $GITHUB_ENV
echo "URL is invalid or Cloudflare issue or site is down" >> $GITHUB_STEP_SUMMARY
gh issue comment $ISSUE_NUMBER -b '
> [!WARNING]
> **Unable to Check for Themes**
> This issue may be due to Cloudflare protection on the website, an invalid URL, or the website being down.
> [View GitHub Action](https://github.com/${{ env.OWNER }}/${{ env.REPO }}/actions/runs/${{ github.run_id }})
*This message is for development purposes and can be ignored otherwise.*
' -R $REPO
Expand Down

0 comments on commit 388907f

Please sign in to comment.