Skip to content

Commit 2c51d75

Browse files
committed
feat(action): add new github action
1 parent 67f1f39 commit 2c51d75

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

github-action/Dockerfile

+2
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,6 @@ FROM ghcr.io/danger/danger-kotlin:1.3.0
22

33
COPY entrypoint.sh /entrypoint.sh
44

5+
RUN chmod +x /entrypoint.sh
6+
57
ENTRYPOINT ["/entrypoint.sh"]

github-action/entrypoint.sh

+2-2
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,9 @@ args=$4
1010
echo "Danger JS version:"
1111
danger --version
1212
echo "Danger Kotlin version:"
13-
danger-koltin --version
13+
danger-kotlin --version
1414

15-
if [ -f "$dangerFile"]; then
15+
if [ -f "$dangerFile" ]; then
1616
danger-kotlin $runMode --dangerfile="$dangerFile" --id="$jobId" $args
1717
exit 0
1818
else

0 commit comments

Comments
 (0)