mirror of
https://code.forgejo.org/actions/cascading-pr.git
synced 2025-06-28 04:43:44 +00:00
run.sh also runs in the CI
This commit is contained in:
parent
84c728fdc5
commit
63ccad04bc
2 changed files with 20 additions and 6 deletions
|
@ -9,11 +9,16 @@ The test environment consists of the following
|
|||
* The repository user1/originrepo
|
||||
* contains a pull_request workflow using cascading-pr that targets user2/destinationrepo
|
||||
* contains a script that will modify user2/destinationrepo
|
||||
* a PR from branch1 to main
|
||||
* a branch1 at the same commit as main
|
||||
* The repository user1/cascading-pr with the action under test
|
||||
* An unprivileged user user2
|
||||
* The repository user2/destinationrepo
|
||||
|
||||
The test for a successful run of the cascading-pr action consists of:
|
||||
|
||||
* creating a PR from branch1 to main
|
||||
* wait for the commit status until it is successful
|
||||
|
||||
## testing an update on the action
|
||||
|
||||
* run `tests/run.sh --debug` once so all is in place
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue