Skip to content

Conversation

jrfnl
Copy link
Member

@jrfnl jrfnl commented Dec 12, 2024

Description

Apparently, by default, the GH CLI doesn't show any output when run from a GH Actions step.

This can be confusing and it makes debugging the workflow harder as, in case of failure, it is unclear what the step failed on.

The GH_FORCE_TTY environment variable (set to any value) should enable the normal output for the GH CLI command, which should fix this.

Refs:

Suggested changelog entry

N/A

Apparently, by default, the GH CLI doesn't show any output when run from a GH Actions step.

This can be confusing and it makes debugging the workflow harder as, in case of failure, it is unclear what the step failed on.

The `GH_FORCE_TTY` environment variable (set to any value) should enable the normal output for the GH CLI command, which should fix this.

Refs:
* cli/cli#10047
* https://cli.github.com/manual/gh_help_environment
@jrfnl jrfnl merged commit e8edff7 into master Dec 14, 2024
75 checks passed
@jrfnl jrfnl deleted the feature/ghactions-verify-release-tweak branch December 14, 2024 08:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants