Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

GHA Build Summary integration not supporting colors #4131

Closed
adamgordonbell opened this issue May 17, 2024 · 0 comments · Fixed by #4167
Closed

GHA Build Summary integration not supporting colors #4131

adamgordonbell opened this issue May 17, 2024 · 0 comments · Fixed by #4167
Assignees
Labels
type:bug Something isn't working

Comments

@adamgordonbell
Copy link
Contributor

adamgordonbell commented May 17, 2024

What went wrong?

Command output of failed build steps literally prints terminal color delimiters.

color-output-fail:
    RUN echo -e "\033[31mThis is a red error message\033[0m" && false

What should have happened?

Color codes should be stripped. Command Output should be:
This is a red error message

Right now it is:
\033[31mThis is a red error message\033[0m

@adamgordonbell adamgordonbell added the type:bug Something isn't working label May 17, 2024
@adamgordonbell adamgordonbell self-assigned this May 17, 2024
adamgordonbell added a commit that referenced this issue May 28, 2024
Fixes #4131

GitHub Actions ::error and summary messages do not support ANSI control
characters such as colors.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type:bug Something isn't working
Projects
Status: Done
Development

Successfully merging a pull request may close this issue.

1 participant