From 96f9673640e0a77646dbac6bdeeb3aae4f51be98 Mon Sep 17 00:00:00 2001 From: Earl Warren Date: Wed, 6 Mar 2024 09:09:19 +0800 Subject: [PATCH] [CI] do not hardcode the Forgejo release in end-to-end testing (part 2) The absence of origin-ref must be the empty string '', not 'false' --- .forgejo/workflows/cascade-setup-end-to-end.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.forgejo/workflows/cascade-setup-end-to-end.yml b/.forgejo/workflows/cascade-setup-end-to-end.yml index e3b43d968b..85871ec31d 100644 --- a/.forgejo/workflows/cascade-setup-end-to-end.yml +++ b/.forgejo/workflows/cascade-setup-end-to-end.yml @@ -104,7 +104,7 @@ jobs: origin-repo: ${{ github.repository }} origin-token: ${{ secrets.END_TO_END_CASCADING_PR_ORIGIN }} origin-pr: ${{ github.event.pull_request.number }} - origin-ref: ${{ github.event_name == 'push' && github.event.ref }} + origin-ref: ${{ github.event_name == 'push' && github.event.ref || '' }} destination-url: https://code.forgejo.org destination-fork-repo: cascading-pr/end-to-end destination-repo: forgejo/end-to-end