Earl Warren
|
28c365c695
|
improve the readability of API calls
|
2023-10-22 17:15:02 +02:00 |
|
Earl Warren
|
e445a531fa
|
only run on main, it is the same as v1 for now
|
2023-10-15 18:18:16 +02:00 |
|
Earl Warren
|
c607434f43
|
increase the timeout waiting for success on the cascaded PR
|
2023-10-15 18:16:27 +02:00 |
|
Earl Warren
|
89767f29db
|
git fetch origin, not $destination
|
2023-10-15 17:29:34 +02:00 |
|
Earl Warren
|
ab3031942c
|
.editorconfig
|
2023-10-14 20:46:18 +02:00 |
|
Earl Warren
|
964d21ab1b
|
the SHA of the head is always needed, even when there is no update
|
2023-10-14 20:42:03 +02:00 |
|
Earl Warren
|
b207ec6de2
|
store the tokens in files and never display them
|
2023-10-14 18:05:40 +02:00 |
|
Earl Warren
|
d1f8e17462
|
retry what might be asynchronous
* opening the PR at destination because the branch that was created
is not yet known to exist
Fixes: https://code.forgejo.org/actions/cascading-pr/issues/1
|
2023-10-14 16:10:14 +02:00 |
|
Earl Warren
|
1cc9da66ff
|
implement retry & tests
|
2023-10-14 16:01:37 +02:00 |
|
Earl Warren
|
2666352130
|
remove test leftover
|
2023-10-13 23:55:55 +02:00 |
|
Earl Warren
|
7f524bea14
|
documentation
|
2023-10-13 23:38:57 +02:00 |
|
Earl Warren
|
66eedaebbd
|
do not modify the current directory
|
2023-10-13 22:57:51 +02:00 |
|
Earl Warren
|
ff91240ee5
|
prefix the logs with a marker for debug
|
2023-10-13 22:44:14 +02:00 |
|
Earl Warren
|
b89d03dbb7
|
update merge
|
2023-10-13 22:08:16 +02:00 |
|
Earl Warren
|
c87d693481
|
show the runner logs if the tests fail
|
2023-10-13 20:03:17 +02:00 |
|
Earl Warren
|
0b634daec3
|
LICENSE
|
2023-10-13 19:47:35 +02:00 |
|
Earl Warren
|
657e223acc
|
close cascading PR if the origin PR is closed
|
2023-10-13 19:43:57 +02:00 |
|
Earl Warren
|
dd3807fb41
|
password is admin1234 for all test users
|
2023-10-13 15:52:40 +02:00 |
|
Earl Warren
|
4b46875443
|
run.sh needs dependencies
|
2023-10-13 15:47:22 +02:00 |
|
Earl Warren
|
0123f765bd
|
shift run.sh
|
2023-10-13 15:45:50 +02:00 |
|
Earl Warren
|
31487b1348
|
use the registered runner file
|
2023-10-13 15:41:21 +02:00 |
|
Earl Warren
|
df08855107
|
wait on the CI to complete
|
2023-10-13 15:32:57 +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
|
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
|
756e6eacb8
|
get origin_head from the PR
|
2023-10-12 23:02:27 +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
|
f9fb0fcecd
|
script that always changes something
|
2023-10-12 22:22:11 +02:00 |
|
Earl Warren
|
bb0a57a8cd
|
destination workflow
|
2023-10-12 22:01:18 +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
|
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
|
2de0a1208c
|
create the pull request
|
2023-10-12 00:03:58 +02:00 |
|
Earl Warren
|
2892041d6c
|
create the repositories, tokens and secrets
|
2023-10-11 22:32:24 +02:00 |
|
Earl Warren
|
cdd3f46d7b
|
create the origin repository
|
2023-10-11 20:00:00 +02:00 |
|
Earl Warren
|
3da0fa91c3
|
create two users
|
2023-10-11 19:20:52 +02:00 |
|
Earl Warren
|
607d678e7a
|
typos
|
2023-10-11 18:09:58 +02:00 |
|
Earl Warren
|
5f8f262472
|
split out the lib
|
2023-10-11 18:05:11 +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 |
|