mirror of
https://github.com/samsonjs/vdirsyncer.git
synced 2026-03-25 08:55:50 +00:00
upload-hypothesis: Don't execute on third-party PR
This commit is contained in:
parent
be297b52df
commit
471882fc5e
1 changed files with 4 additions and 0 deletions
|
|
@ -6,6 +6,10 @@ set -e
|
|||
SELF_DIR="$(dirname $0)"
|
||||
GIT_COMMIT_PATH="$SELF_DIR/../.hypothesis/examples"
|
||||
|
||||
if [ -z "$encrypted_a527bcd44658_key" ]; then
|
||||
echo "Not executing on third-party PRs"
|
||||
exit 0
|
||||
fi
|
||||
|
||||
_is_dirty() {
|
||||
(! git diff-index --quiet HEAD $GIT_COMMIT_PATH) || [ "$(git status --porcelain $GIT_COMMIT_PATH | tail -n1)" != "" ]
|
||||
|
|
|
|||
Loading…
Reference in a new issue