Skip to content
This repository was archived by the owner on Jan 28, 2025. It is now read-only.

Commit ed02424

Browse files
committed
chore: revert back to using ref when triggering e2e-tests workflow
1 parent f04d309 commit ed02424

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

.github/workflows/CI.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,4 +58,7 @@ jobs:
5858
with:
5959
workflow: End-to-end Tests
6060
token: ${{ secrets.BOT_GITHUB_TOKEN }}
61-
ref: ${{ github.event.pull_request.head.sha || github.sha }}
61+
ref: ${{ github.event.pull_request.head.ref || github.ref }}
62+
# FIXME: Passing sha doesn't seem to work, created GitHub ticket here: https://i.8713187.xyzmunity/t/workflow-dispatch-cant-set-ref-to-commit-sha/138132
63+
# But using ref (branch name) should be fine as it means tests always run on latest commit on PR or master branch
64+
# ref: ${{ github.event.pull_request.head.sha || github.sha }}

0 commit comments

Comments
 (0)