close-merge input

Fixes: https://code.forgejo.org/actions/cascading-pr/issues/7
This commit is contained in:
Earl Warren 2023-10-24 22:51:30 +02:00
parent f8a65b3d9f
commit 5caaedbc52
No known key found for this signature in database
GPG key ID: 0579CB2928A78A00
7 changed files with 80 additions and 9 deletions

View file

@ -0,0 +1,12 @@
#!/bin/bash
set -ex
destination_checkout="$1"
destination_pr_json="$2"
origin_pr_json="$3"
test -d $destination_checkout
test -f $origin_pr_json
date +%s > $destination_checkout/last