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
|
@ -101,6 +101,10 @@ inputs:
|
|||
update:
|
||||
description: 'path to the script to update the content of the cascading PR'
|
||||
required: true
|
||||
wait-iteration:
|
||||
description: 'number of seconds to wait before verifying for the status of the destination pull request (timeout after 100 iterations)'
|
||||
default: 36
|
||||
required: true
|
||||
prefix:
|
||||
description: 'prefix of the branch from which the cascading PR is created on {destination-repo} or {destination-fork-repo} (default to {origin-repo})'
|
||||
close:
|
||||
|
@ -143,6 +147,7 @@ runs:
|
|||
--destination-token "@$destination_token" \
|
||||
--destination-branch "${{ inputs.destination-branch }}" \
|
||||
--update "${{ inputs.update }}" \
|
||||
--wait-iteration "${{ inputs.wait-iteration }}" \
|
||||
--prefix "${{ inputs.prefix }}" \
|
||||
--close "${{ inputs.close }}" \
|
||||
run
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue