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

extending detection of setting of $GITHUB_OUTPUTs #73

Open
tomsit-ionos opened this issue Nov 19, 2024 · 0 comments
Open

extending detection of setting of $GITHUB_OUTPUTs #73

tomsit-ionos opened this issue Nov 19, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@tomsit-ionos
Copy link

tomsit-ionos commented Nov 19, 2024

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.

@tomsit-ionos tomsit-ionos added the enhancement New feature or request label Nov 19, 2024
@tomsit-ionos tomsit-ionos changed the title detect setting out GITHUB_ extending detection of setting of $GITHUB_OUTPUTs Nov 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant