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
e858de5450
documentation: emphasize the head of a pull request is not trusted
2023-11-08 17:20:04 +01:00
Earl Warren
35760ba012
reword the introduction and clarify the purpose
2023-11-01 21:33:35 +01:00
Earl Warren
15dc3ec7a7
simplify the retry implementation and tests
2023-11-01 18:45:07 +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
277569106a
run the update script from the default branch
...
Fixes: https://code.forgejo.org/actions/cascading-pr/issues/9
2023-10-28 18:20:35 +02:00
Earl Warren
5caaedbc52
close-merge input
...
Fixes: https://code.forgejo.org/actions/cascading-pr/issues/7
2023-10-24 23:32:13 +02:00
Earl Warren
b207ec6de2
store the tokens in files and never display them
2023-10-14 18:05:40 +02:00
Earl Warren
7f524bea14
documentation
2023-10-13 23:38:57 +02:00
Earl Warren
51fac222bd
install dependencies
2023-10-13 15:01:47 +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
007e34c709
add path
2023-10-12 15:00:48 +02:00
Earl Warren
731e463dfd
prefix
2023-10-12 14:57:38 +02:00
Earl Warren
5f8f262472
split out the lib
2023-10-11 18:05:11 +02:00
Earl Warren
7d02d44019
initial
2023-10-11 15:39:52 +02:00