mirror of
https://code.forgejo.org/actions/cascading-pr.git
synced 2025-09-12 02:56:16 +00:00
feat: wait-iteration to control the timeout for the destination pull request
on a busy repository or with a long workflow, it may take more than the one hour default to complete
This commit is contained in:
parent
0ff02f5d54
commit
c2c22e2994
4 changed files with 17 additions and 1 deletions
|
@ -401,6 +401,7 @@ function finalize_options() {
|
|||
else
|
||||
options[destination_is_fork]=false
|
||||
fi
|
||||
set_loop_delay ${options[wait_iteration]}
|
||||
|
||||
: ${options[close]:=false}
|
||||
}
|
||||
|
@ -543,6 +544,11 @@ function main() {
|
|||
options[update]=$1
|
||||
shift
|
||||
;;
|
||||
--wait-iteration)
|
||||
shift
|
||||
options[wait_iteration]=$1
|
||||
shift
|
||||
;;
|
||||
--prefix)
|
||||
shift
|
||||
options[prefix]=$1
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue