From e1627a80e952afce5144d1f826e2ef35cd224cc3 Mon Sep 17 00:00:00 2001 From: Mitchell Hashimoto Date: Sun, 7 Sep 2025 08:34:15 -0700 Subject: [PATCH] ci: I think --ref can only be a branch/tag name... --- .github/workflows/test.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index d2aee0085..055bcf372 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -281,7 +281,7 @@ jobs: - name: Trigger Snap workflow run: | - gh workflow run snap.yml --ref ${{ github.sha }} --field source-tarball-id=${{ needs.build-dist.outputs.artifact-id }} + gh workflow run snap.yml --ref ${{ github.ref_name || 'main' }} --field source-tarball-id=${{ needs.build-dist.outputs.artifact-id }} env: GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}