Skip to content

Commit

Permalink
feat(action): add new github action
Browse files Browse the repository at this point in the history
  • Loading branch information
Vacxe committed Mar 24, 2024
1 parent 67f1f39 commit 2c51d75
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 2 additions & 0 deletions github-action/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,6 @@ FROM ghcr.io/danger/danger-kotlin:1.3.0

COPY entrypoint.sh /entrypoint.sh

RUN chmod +x /entrypoint.sh

ENTRYPOINT ["/entrypoint.sh"]
4 changes: 2 additions & 2 deletions github-action/entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,9 @@ args=$4
echo "Danger JS version:"
danger --version
echo "Danger Kotlin version:"
danger-koltin --version
danger-kotlin --version

if [ -f "$dangerFile"]; then
if [ -f "$dangerFile" ]; then
danger-kotlin $runMode --dangerfile="$dangerFile" --id="$jobId" $args
exit 0
else
Expand Down

0 comments on commit 2c51d75

Please sign in to comment.