-
Notifications
You must be signed in to change notification settings - Fork 21
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
drop e2e test case for no base folder
- Loading branch information
1 parent
5d4c8eb
commit 510ac96
Showing
2 changed files
with
21 additions
and
88 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,13 @@ | ||
#!/bin/bash | ||
|
||
# hack to mock git commands as part of action.yaml so that we could simulate no deploy scenario without making any additional commits | ||
|
||
# Check if the script was invoked with "git diff" | ||
if [[ "$1" == "diff" ]]; then | ||
echo "README.md" | ||
elif [[ "$1" == "fetch" ]]; then | ||
echo "Handling git fetch, doing nothing" | ||
else | ||
echo "Error: git mock script isn't configured to handle $1" >&2 | ||
exit 1 | ||
fi |