fix(ci): Update ref in CI workflow to use github.ref_name
This commit is contained in:
1 parent
e50fb8b7c2
commit
4e90abe398
1 file changed
+1
-1
@@ -23,7 +23,7 @@ jobs:
|
|||||||
submodules: recursive
|
submodules: recursive
|
||||||
# On pull requests check out the branch itself, not the detached merge
|
# On pull requests check out the branch itself, not the detached merge
|
||||||
# commit, so the formatting commit can be pushed back.
|
# commit, so the formatting commit can be pushed back.
|
||||||
ref: ${{ github.head_ref || github.sha }}
|
ref: ${{ github.head_ref || github.ref_name }}
|
||||||
token: ${{ secrets.GITHUB_TOKEN }}
|
token: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
|
||||||
- name: Set up JDK 25
|
- name: Set up JDK 25
|
||||||
|
|||||||
Reference in new issue
Block a user