[CI] end to end tests (squash) use cascading-pr/end-to-end

This commit is contained in:
Earl Warren 2023-11-07 13:33:48 +01:00
parent ebeb421177
commit 8cad18b6bf
No known key found for this signature in database
GPG key ID: 0579CB2928A78A00
2 changed files with 4 additions and 1 deletions

View file

@ -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

View file

@ -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