mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2024-11-10 20:01:24 +01:00
[CI] end to end tests (squash) use cascading-pr/end-to-end
(cherry picked from commit 8cad18b6bf
)
This commit is contained in:
parent
67f92dc9ab
commit
44a3ba1fcf
2 changed files with 4 additions and 1 deletions
|
@ -4,7 +4,8 @@ set -ex
|
||||||
|
|
||||||
end_to_end=$1
|
end_to_end=$1
|
||||||
end_to_end_pr=$2
|
end_to_end_pr=$2
|
||||||
forgejo_pr=$3
|
forgejo=$3
|
||||||
|
forgejo_pr=$4
|
||||||
|
|
||||||
url=$(jq --raw-output .head.repo.html_url < $forgejo_pr)
|
url=$(jq --raw-output .head.repo.html_url < $forgejo_pr)
|
||||||
test "$url" != null
|
test "$url" != null
|
||||||
|
|
|
@ -29,7 +29,9 @@ jobs:
|
||||||
origin-token: ${{ secrets.END_TO_END_CASCADING_PR_ORIGIN }}
|
origin-token: ${{ secrets.END_TO_END_CASCADING_PR_ORIGIN }}
|
||||||
origin-pr: ${{ github.event.pull_request.number }}
|
origin-pr: ${{ github.event.pull_request.number }}
|
||||||
destination-url: https://code.forgejo.org
|
destination-url: https://code.forgejo.org
|
||||||
|
destination-repo: cascading-pr/end-to-end
|
||||||
destination-repo: forgejo/end-to-end
|
destination-repo: forgejo/end-to-end
|
||||||
destination-branch: main
|
destination-branch: main
|
||||||
destination-token: ${{ secrets.END_TO_END_CASCADING_PR_DESTINATION }}
|
destination-token: ${{ secrets.END_TO_END_CASCADING_PR_DESTINATION }}
|
||||||
|
close-merge: true
|
||||||
update: .forgejo/cascading-pr-end-to-end
|
update: .forgejo/cascading-pr-end-to-end
|
||||||
|
|
Loading…
Reference in a new issue