Skip to content

Commit f17c996

Browse files
committed
Update GitHub Actions
1 parent 57f755f commit f17c996

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.github/workflows/tests.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@ jobs:
2828
- uses: actions/checkout@v4
2929
with:
3030
submodules: recursive
31+
ref: ${{ github.head_ref || github.ref_name }}
3132

3233
- name: Get Composer Cache Directory
3334
id: composer-cache
@@ -89,7 +90,7 @@ jobs:
8990
cd docs/wiki
9091
git add .
9192
git commit -m "Update wiki content [skip ci]" || echo "No changes to commit"
92-
git push
93+
git push HEAD:${{ github.head_ref || github.ref_name }}
9394
cd ../..
9495
git submodule update --remote --merge
9596
git push

0 commit comments

Comments
 (0)