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