Skip to content

Commit

Permalink
workflow error when pack changes found
Browse files Browse the repository at this point in the history
  • Loading branch information
SunSerega committed Mar 27, 2024
1 parent 63f60a1 commit 9632b0b
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/on commit.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,8 @@ jobs:
git add -A
git commit -m "win changes"
git push -f --set-upstream origin "$(git rev-parse --abbrev-ref HEAD)"
exit 1
} else {
Write-Host "No changes detected"
}
Expand Down Expand Up @@ -157,6 +159,7 @@ jobs:
git commit -m "ubuntu changes"
git push -f --set-upstream origin "$(git rev-parse --abbrev-ref HEAD)"
exit 1
else
echo "No changes detected"
fi
Expand Down

0 comments on commit 9632b0b

Please sign in to comment.