forked from NYANDEV/forgejo
Merge pull request '[CI] end to end tests (squash) use cascading-pr/end-to-end' (#1744) from earl-warren/forgejo:wip-ci-end-to-end into forgejo-ci
Reviewed-on: https://codeberg.org/forgejo/forgejo/pulls/1744
This commit is contained in:
commit
8ee74e6955
2 changed files with 4 additions and 1 deletions
|
@ -4,7 +4,8 @@ set -ex
|
|||
|
||||
end_to_end=$1
|
||||
end_to_end_pr=$2
|
||||
forgejo_pr=$3
|
||||
forgejo=$3
|
||||
forgejo_pr=$4
|
||||
|
||||
url=$(jq --raw-output .head.repo.html_url < $forgejo_pr)
|
||||
test "$url" != null
|
||||
|
|
|
@ -29,7 +29,9 @@ jobs:
|
|||
origin-token: ${{ secrets.END_TO_END_CASCADING_PR_ORIGIN }}
|
||||
origin-pr: ${{ github.event.pull_request.number }}
|
||||
destination-url: https://code.forgejo.org
|
||||
destination-repo: cascading-pr/end-to-end
|
||||
destination-repo: forgejo/end-to-end
|
||||
destination-branch: main
|
||||
destination-token: ${{ secrets.END_TO_END_CASCADING_PR_DESTINATION }}
|
||||
close-merge: true
|
||||
update: .forgejo/cascading-pr-end-to-end
|
||||
|
|
Loading…
Reference in a new issue