Skip to content

Commit 8328fb8

Browse files
committed
Updated circleci trigger_if_modified.sh if on master
1 parent 307ac11 commit 8328fb8

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

.circleci/trigger_if_modified.sh

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,12 @@ git status >/dev/null 2>&1 || { echo >&2 "Not in a git directory or no git"; exi
2929

3030
circleci-agent >/dev/null 2>&1 || { echo >&2 "No Circle CI agent. These are in all Circle CI containers"; exit 1; }
3131

32+
33+
if [ "$CIRCLE_BRANCH" == "master" ]; then
34+
echo "Skip checking modified files if on master"
35+
exit 0
36+
fi
37+
3238
FILES_MODIFIED=""
3339

3440
setcommit () {

0 commit comments

Comments
 (0)