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