mirror of
https://github.com/vagrant-libvirt/vagrant-libvirt.git
synced 2025-02-25 18:55:27 -06:00
Fix release workflow default branch detection (#1585)
Ensure that the github script to retrieve the default branch uses string encoding instead of json. This will strip the unnecessary quotes preventing matching.
This commit is contained in:
1
.github/workflows/release.yml
vendored
1
.github/workflows/release.yml
vendored
@@ -21,6 +21,7 @@ jobs:
|
|||||||
id: remote_default_branch
|
id: remote_default_branch
|
||||||
with:
|
with:
|
||||||
github-token: ${{secrets.GITHUB_TOKEN}}
|
github-token: ${{secrets.GITHUB_TOKEN}}
|
||||||
|
result-encoding: string
|
||||||
script: |
|
script: |
|
||||||
repo = await github.repos.get({
|
repo = await github.repos.get({
|
||||||
owner: context.repo.owner,
|
owner: context.repo.owner,
|
||||||
|
|||||||
Reference in New Issue
Block a user