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

29 commits

Author SHA1 Message Date
Earl Warren
09dc15f425
close-merge is close and applies to destination-ref as well
* workflows that have close-merge need to change to close
* the behavior for when origin-pr is set does not change
* the behavior for when origin-ref is set is to honor close
  instead of always closing the PR
2024-01-09 19:47:48 +01:00
Earl Warren
ff13323a95
README: explain where to find the logs in local debug mode 2024-01-09 19:40:09 +01:00
Earl Warren
0ed38df165
clarify the documentation for the prefix input 2024-01-09 14:49:09 +01:00
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
9e848c27a8
add the forgejo dependency graph in the README 2023-11-05 00:02:27 +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
9d138db73c
add destination-fork-repo to the README 2023-11-01 17:47:42 +01:00
Earl Warren
de6776aa88
include all tests in the integration function 2023-11-01 17:23:58 +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
a449a6e6f5
do nothing if nothing is pushed
Fixes: https://code.forgejo.org/actions/cascading-pr/issues/6
2023-10-22 23:35:43 +02:00
Earl Warren
d92b2a7d3e
update HACKING instructions 2023-10-22 17:25:03 +02:00
Earl Warren
7f524bea14
documentation 2023-10-13 23:38:57 +02:00
Earl Warren
dd3807fb41
password is admin1234 for all test users 2023-10-13 15:52:40 +02:00
Earl Warren
63ccad04bc
run.sh also runs in the CI 2023-10-13 15:23:50 +02:00
Earl Warren
84c728fdc5
runner capacity must be at least two jobs
otherwise the cascading pr job will never run and the original
pr will stay stuck until it timesout
2023-10-13 15:15:06 +02:00
Earl Warren
601c93ef62
notes on the development environment 2023-10-13 15:01:47 +02:00
Earl Warren
36e8cdcda4
do not override the token 2023-10-12 22:49:16 +02:00
Earl Warren
a32b74cb81
use the right credentials 2023-10-12 22:37:54 +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
731e463dfd
prefix 2023-10-12 14:57:38 +02:00
Earl Warren
607d678e7a
typos 2023-10-11 18:09:58 +02:00
Earl Warren
95aee3f580
move tests 2023-10-11 16:25:56 +02:00
Earl Warren
ccf1ec2ffb
runner 2023-10-11 15:50:12 +02:00
Earl Warren
7d02d44019
initial 2023-10-11 15:39:52 +02:00
earl-warren
c1016ee0f2 Initial commit 2023-10-10 16:29:11 +00:00