Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion .github/workflows/velox-status.yml
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ jobs:
CURRENT=$(curl -sf "https://gist.githubusercontent.com/srsuryadev/e3263c7396c5b33486ac167d8b52ec02/raw/67292508e2e4891ef4ff168bc69ac4176b9a4a7a/velox-status.json?$(date +%s)" || echo "{}")
CURRENT_MESSAGE=$(echo "$CURRENT" | jq -r '.message // ""')
CURRENT_COLOR=$(echo "$CURRENT" | jq -r '.color // ""')

echo "skip=false" >> $GITHUB_OUTPUT
if [ "$CURRENT_MESSAGE" = "$MESSAGE" ] && [ "$CURRENT_COLOR" = "$COLOR" ]; then
echo "Badge is already up to date, skipping."
echo "skip=true" >> $GITHUB_OUTPUT
Expand All @@ -98,6 +98,7 @@ jobs:
auth: ${{ secrets.GIST_TOKEN }}
# TODO: Update this after creating the Gist.
gistID: e3263c7396c5b33486ac167d8b52ec02
forceUpdate: true
filename: velox-status.json
label: velox
message: ${{ steps.velox.outputs.message }}
Expand Down
Loading