Skip to content
This repository has been archived by the owner on Jan 2, 2025. It is now read-only.

Commit

Permalink
Fix script again
Browse files Browse the repository at this point in the history
  • Loading branch information
Arthri committed Jan 22, 2024
1 parent 64627b9 commit 8dc10b2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build-tgui.yml
Original file line number Diff line number Diff line change
Expand Up @@ -61,8 +61,8 @@ jobs:
-H "Accept: application/vnd.github+json" \
-H "X-GitHub-Api-Version: 2022-11-28" \
"https://api.github.com/repos/$REPOSITORY/compare/master...${{ inputs.branch }}")
behind_by=$($compare_result | jq '.behind_by')
ahead_by=$($compare_result | jq '.ahead_by')
behind_by=$(echo "$compare_result" | jq '.behind_by')
ahead_by=$(echo "$compare_result" | jq '.ahead_by')
if [ "$behind_by" -le 0 ] ; then
echo '- Skipping master merge. No changes to merge.' | tee -a "$GITHUB_STEP_SUMMARY"
exit 0
Expand Down

0 comments on commit 8dc10b2

Please sign in to comment.