Skip to content

Commit af2f8b3

Browse files
committed
ci: test
1 parent 50d754d commit af2f8b3

1 file changed

Lines changed: 8 additions & 1 deletion

File tree

.github/workflows/visual-regression.yml

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,11 @@ jobs:
6565
# Used as the explorer-automation tests-ref. metaforge falls back to main
6666
# if the branch doesn't exist on explorer-automation's origin.
6767
TEST_REF: ${{ github.event.pull_request.head.ref || github.ref_name }}
68-
TESTS_REF: ${{ github.event.pull_request.head.ref || github.ref_name }}
68+
# TEMPORARY (smoke-test): the explorer-automation visual setup lives on
69+
# feat/snapshots-comparison (PR #2) until merged to main. Once that PR
70+
# lands, switch this back to ${{ github.event.pull_request.head.ref }}
71+
# so per-branch test pairing works for real PRs.
72+
TESTS_REF: feat/snapshots-comparison
6973
PR_NUMBER: ${{ github.event.pull_request.number }}
7074
# TEMPORARY (workflow smoke-test): hardcoded direct URL of a known-green
7175
# Unity Cloud Build for this branch, so we don't block on the in-progress
@@ -196,6 +200,9 @@ jobs:
196200
# Surface metaforge logs at info level so failures are diagnosable
197201
# without needing to download artifacts.
198202
MF_LOG_LEVEL: info
203+
# metaforge clones explorer-automation via `gh repo clone`, which
204+
# needs GH_TOKEN to authenticate against the private repo.
205+
GH_TOKEN: ${{ secrets.REPOS_READ_ONLY_TOKEN }}
199206
run: |
200207
set -euo pipefail
201208
mf explorer server start

0 commit comments

Comments
 (0)