do nothing if nothing is pushed

Fixes: https://code.forgejo.org/actions/cascading-pr/issues/6
This commit is contained in:
Earl Warren 2023-10-22 18:26:56 +02:00
parent bc706e42b6
commit a449a6e6f5
No known key found for this signature in database
GPG key ID: 0579CB2928A78A00
6 changed files with 104 additions and 44 deletions

View file

@ -7,7 +7,6 @@ destination_pr_json="$2"
origin_pr_json="$3"
test -d $destination_checkout
test -f $destination_pr_json
test -f $origin_pr_json
date +%s > $destination_checkout/last