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:
Earl Warren 2023-11-07 14:50:45 +00:00
commit 8ee74e6955
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