CircleCI-Public / github-cli-orb

Bring all of the power and flexibility of the GitHub CLI to your CI/CD pipeline.
https://circleci.com/developer/orbs/orb/circleci/github-cli
MIT License
8 stars 27 forks source link

Error running gh/release #21

Closed motionsuggests closed 2 years ago

motionsuggests commented 2 years ago

Orb version: 2.0.0

What happened:

When trying to use this orb with our GitHub Enterprise instance and only running gh/release it errors out calling gh auth setup-git --hostname "$PARAM_GH_HOSTNAME".

I get the following error:

Authenticating GH CLI
You are not logged into the GitHub host "**REDACTED**"

Exited with code exit status 1
      - gh/release:
          context:
            - GITHUB_CREDS
          hostname: ***********
          filters:
            branches:
              only:
                - main
          notes-file: CHANGELOG.md
          requires:
            - prep_vars
          tag: ${VERSION}
          title: ${VERSION}

Expected behavior:

I think just running gh/release should only run install not setup.

Additional Information:

Related Issue https://github.com/CircleCI-Public/github-cli-orb/issues/9