-
Notifications
You must be signed in to change notification settings - Fork 212
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ci: use pyTooling/Actions/with-post-step for commands in run and post…
…-run
- Loading branch information
1 parent
d69244b
commit d250b2f
Showing
4 changed files
with
21 additions
and
67 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
#!/bin/bash | ||
# Navigate to the specified directory | ||
cd $1 | ||
# Set verbose execution | ||
set -x | ||
# Check for unexpected changes | ||
# Fail if git status detects changes, ignoring: | ||
# - Files ending with 'junit.xml' | ||
# - The untracked file 'endo-sha.txt' | ||
# This setup ensures the Git status only flags unexpected modifications or untracked files outside these specified exceptions. | ||
changes=$(git status --porcelain | grep -vE 'junit.xml$' | grep -vE '^\?\? endo-sha.txt$') | ||
if [ -n "$changes" ]; then | ||
git status | ||
echo "Unexpected dirty git status in Agoric SDK path" | ||
exit 1 | ||
fi |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.