You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Use github.ref_name as fallback for github.head_ref in e2e workflow
`github.head_ref` is only set on `pull_request` events; `workflow_dispatch` leaves it empty, whcih caused the `composer require` step to request an invalid "dev-" branch alias and fail.
echo "::error::workflow_dispatch must be triggered from a branch, not a tag or other ref. Current ref: ${{ github.ref_name }} (type: ${{ github.ref_type }})"
32
+
exit 1
33
+
25
34
- name: Checkout ${{ matrix.repo }}
26
35
uses: actions/checkout@v6
27
36
with:
@@ -47,8 +56,10 @@ jobs:
47
56
env:
48
57
GH_TOKEN: ${{ github.token }}
49
58
50
-
- name: Update the extension to "dev-${{ github.head_ref }} as ${{ steps.latest.outputs.version }}"
0 commit comments