File tree Expand file tree Collapse file tree 1 file changed +5
-1
lines changed
Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Original file line number Diff line number Diff line change 5454 run : |
5555 # Start a detached container with all necessary volumes and environment variables
5656 docker run -td --name danger \
57+ --entrypoint /bin/bash \
5758 --volume ${{ github.workspace }}:/github/workspace \
5859 --volume ${{ github.action_path }}:${{ github.action_path }} \
5960 --volume ${{ github.event_path }}:${{ github.event_path }} \
6465 -e DANGER_DISABLE_TRANSPILATION="true" \
6566 -e EXTRA_DANGERFILE_INPUT="${{ inputs.extra-dangerfile }}" \
6667 ghcr.io/danger/danger-js:${{ steps.config.outputs.version }} \
67- /bin/bash
68+ -c "sleep infinity"
69+
70+ echo "Container started. Checking if it's running..."
71+ docker ps | grep danger || (echo "Container not running!" && exit 1)
6872
6973 - name : Setup additional packages
7074 if : ${{ inputs.extra-install-packages }}
You can’t perform that action at this time.
0 commit comments