Skip to content

extending detection of setting of $GITHUB_OUTPUTs #73

@tomsit-ionos

Description

@tomsit-ionos

Is your feature request related to a problem? Please describe.

Given that an output is set via tee like so:

echo "dev_version=$DEV_VERSION" | tee -a $GITHUB_OUTPUT $GITHUB_STEP_SUMMARY

Then dev_version is not recognized as valid step-output resulting in a false warning/error

image

Describe the solution you'd like
setting values in an $GITHUB_OUTPUT can happen in a lot of ways (CLI commands).
It's hard to support them all i guess but i think supporting a generic approach (maybe even config'able or easily extensible) would be great.

One shot might be to look for an regex like so: \|.*(\$GITHUB_OUTPUT|\$\{GITHUB_OUTPUT})

Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.

Operating System

N/A

Project Version

2024.1.1

Additional context
Add any other context or screenshots about the feature request here.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions