ci: I think --ref can only be a branch/tag name...

pull/8559/head
Mitchell Hashimoto 2025-09-07 08:34:15 -07:00
parent 55798edc9b
commit e1627a80e9
No known key found for this signature in database
GPG Key ID: 523D5DC389D273BC
1 changed files with 1 additions and 1 deletions

View File

@ -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 }}