run the update script from the default branch

Fixes: https://code.forgejo.org/actions/cascading-pr/issues/9
This commit is contained in:
Earl Warren 2023-10-28 17:40:09 +02:00
parent 39c71c3f40
commit 277569106a
No known key found for this signature in database
GPG key ID: 0579CB2928A78A00
6 changed files with 87 additions and 23 deletions

View file

@ -4,9 +4,11 @@ set -ex
destination_checkout="$1"
destination_pr_json="$2"
origin_pr_json="$3"
origin_checkout="$3"
origin_pr_json="$4"
test -d $destination_checkout
test -d $origin_checkout
test -f $origin_pr_json
date +%s > $destination_checkout/last