Compare commits
3 Commits
developmen
...
v1.1.0
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
a40c5bc8f6 | ||
|
|
7da9810073 | ||
|
|
276b0c8370 |
@@ -12,11 +12,13 @@ LABEL maintainer="dwisiswant0"
|
||||
|
||||
RUN npm config set unsafe-perm true && \
|
||||
npm install --silent --save-dev -g typescript@3.5.2 && \
|
||||
npm config set unsafe-perm false
|
||||
npm config set unsafe-perm false && \
|
||||
apk add --no-cache ca-certificates jq
|
||||
|
||||
ENV NODE_PATH "/usr/lib/node_modules/"
|
||||
|
||||
RUN apk add --no-cache ca-certificates jq
|
||||
|
||||
COPY entrypoint.sh /entrypoint.sh
|
||||
|
||||
RUN chmod +x /entrypoint.sh
|
||||
|
||||
ENTRYPOINT ["/entrypoint.sh"]
|
||||
|
||||
@@ -6,7 +6,7 @@ if [[ "${GITHUB_EVENT_NAME}" == "pull_request" ]]; then
|
||||
EVENT_ACTION=$(jq -r ".action" "${GITHUB_EVENT_PATH}")
|
||||
if [[ "${EVENT_ACTION}" != "opened" ]]; then
|
||||
echo "No need to run analysis. It is already triggered by the push event."
|
||||
exit 78
|
||||
exit
|
||||
fi
|
||||
fi
|
||||
|
||||
|
||||
Reference in New Issue
Block a user