Skip to content

Commit

Permalink
docs: add cancel run message
Browse files Browse the repository at this point in the history
  • Loading branch information
rokroskar committed Feb 3, 2020
1 parent caed6fc commit 609b6e0
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -45,5 +45,6 @@ for run_id in $run_ids
do
if [ "$run_id" != "$GITHUB_RUN_ID" ]; then
curl -s -X POST -H "${auth_header}" ${GITHUB_API}/repos/${GITHUB_REPOSITORY}/actions/runs/${run_id}/cancel
echo "Cancelled run $run_id"
fi
done

0 comments on commit 609b6e0

Please sign in to comment.