diff --git a/.github/workflows/gh-extension.yml b/.github/workflows/gh-extension.yml index 4580ce7..e42bdeb 100644 --- a/.github/workflows/gh-extension.yml +++ b/.github/workflows/gh-extension.yml @@ -12,11 +12,11 @@ jobs: with: github-token: ${{ secrets.GORELEASER_GITHUB_TOKEN }} script: | - const mainRef = await github.rest.git.getRef({ + const mainRef = (await github.rest.git.getRef({ owner: 'nektos', repo: 'gh-act', ref: 'heads/main', - }); + })).data; console.log(mainRef); github.rest.git.createRef({ owner: 'nektos',