mirror of
https://code.forgejo.org/actions/cascading-pr.git
synced 2025-06-30 22:03:44 +00:00
add test for implicit creation of a fork in an organization
This commit is contained in:
parent
26490da8d2
commit
84c7b12c83
4 changed files with 72 additions and 5 deletions
14
tests/origin-organization-fork-destination/upgraded
Executable file
14
tests/origin-organization-fork-destination/upgraded
Executable file
|
@ -0,0 +1,14 @@
|
|||
#!/bin/bash
|
||||
|
||||
set -ex
|
||||
|
||||
destination_checkout="$1"
|
||||
destination_pr_json="$2"
|
||||
origin_checkout="$3"
|
||||
origin_pr_json="$4"
|
||||
|
||||
test -d $destination_checkout
|
||||
test -d $origin_checkout
|
||||
test -f $origin_pr_json
|
||||
|
||||
date +%s > $destination_checkout/last
|
Loading…
Add table
Add a link
Reference in a new issue