mirror of
https://github.com/laurent22/joplin.git
synced 2024-12-24 10:27:10 +02:00
Tools: Always run all checks on CI
This commit is contained in:
parent
6494b74d0c
commit
6e3162f92f
6
.github/scripts/run_ci.sh
vendored
6
.github/scripts/run_ci.sh
vendored
@ -19,6 +19,12 @@ if [ "$GITHUB_EVENT_NAME" == "pull_request" ]; then
|
|||||||
IS_PULL_REQUEST=1
|
IS_PULL_REQUEST=1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
# In some case it might not be possible to detect if we're on a pull request, for example when
|
||||||
|
# pushing new code to an existing code (or maybe when pressing "Update branch" from GitHub). In that
|
||||||
|
# case "GITHUB_EVENT_NAME" is "push" it's not clear what else could be checked. It seems safe to
|
||||||
|
# always run the checks anyway so we do this for now.
|
||||||
|
IS_PULL_REQUEST=1
|
||||||
|
|
||||||
if [[ $GIT_TAG_NAME = $SERVER_TAG_PREFIX-* ]]; then
|
if [[ $GIT_TAG_NAME = $SERVER_TAG_PREFIX-* ]]; then
|
||||||
IS_SERVER_RELEASE=1
|
IS_SERVER_RELEASE=1
|
||||||
fi
|
fi
|
||||||
|
Loading…
Reference in New Issue
Block a user