1
0
Fork 0
mirror of https://code.forgejo.org/actions/cascading-pr synced 2025-03-15 06:46:59 +01:00
Commit graph

12 commits

Author SHA1 Message Date
Earl Warren
0c3c8b591b
allow running on a ref instead of a PR
When running from a PR, the ref is the head of the PR in the origin
repository. The PR is used to:

* display comments about the location of the destination PR
* asynchronously close / merge the destination PR when something
  happens in the origin PR

When only the ref is available, the destination PR must be closed and
the corresponding branch destroyed immediately after it concludes
because there is no convenient way to know what or when something
else will happen.
2024-01-03 16:12:23 +01:00
Earl Warren
15dc3ec7a7
simplify the retry implementation and tests 2023-11-01 18:45:07 +01:00
Earl Warren
d9ab167f95
improve verbosity
only output debug information if there is a failure
2023-11-01 15:50:39 +01:00
Earl Warren
dd5427bc63
forked origin requires a forked destination
Fixes: https://code.forgejo.org/actions/cascading-pr/issues/10
2023-10-31 22:25:43 +01:00
Earl Warren
c607434f43
increase the timeout waiting for success on the cascaded PR 2023-10-15 18:16:27 +02:00
Earl Warren
1cc9da66ff
implement retry & tests 2023-10-14 16:01:37 +02:00
Earl Warren
51fac222bd
install dependencies 2023-10-13 15:01:47 +02:00
Earl Warren
b0c8a634f3
check the status of the cascaded PR 2023-10-12 23:24:11 +02:00
Earl Warren
fc026df37e
draft implementation 2023-10-12 21:49:24 +02:00
Earl Warren
ec542726c8
upsert_branch && upsert_pr 2023-10-12 19:13:07 +02:00
Earl Warren
71281446ea
cascading-pr.sh login both repos 2023-10-12 17:08:13 +02:00
Earl Warren
5f8f262472
split out the lib 2023-10-11 18:05:11 +02:00