summaryrefslogtreecommitdiffstats
path: root/.forgejo
diff options
context:
space:
mode:
authorEarl Warren <contact@earl-warren.org>2023-10-25 07:43:35 +0200
committerEarl Warren <contact@earl-warren.org>2023-11-04 14:16:43 +0100
commitd2f408d683b9b29f86f9360b9eed9b57055e3994 (patch)
tree2156f623a35c3250588b0941befbf6ee18a94806 /.forgejo
parent[FORGEJO] allow pull requests to cascade (#97) (diff)
downloadforgejo-runner-d2f408d683b9b29f86f9360b9eed9b57055e3994.tar.xz
forgejo-runner-d2f408d683b9b29f86f9360b9eed9b57055e3994.zip
[FORGEJO] allow pull requests to cascade
Diffstat (limited to '.forgejo')
-rwxr-xr-x.forgejo/cascading-pr-setup-forgejo3
1 files changed, 2 insertions, 1 deletions
diff --git a/.forgejo/cascading-pr-setup-forgejo b/.forgejo/cascading-pr-setup-forgejo
index 39a72b8..06472a7 100755
--- a/.forgejo/cascading-pr-setup-forgejo
+++ b/.forgejo/cascading-pr-setup-forgejo
@@ -4,7 +4,8 @@ set -ex
setup_forgejo=$1
setup_forgejo_pr=$2
-runner_pr=$3
+runner=$3
+runner_pr=$4
url=$(jq --raw-output .head.repo.html_url < $runner_pr)
test "$url" != null