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

Fix: Disable the bash echo with +x #85

Merged
merged 1 commit into from
Dec 5, 2023
Merged

Fix: Disable the bash echo with +x #85

merged 1 commit into from
Dec 5, 2023

Conversation

askb
Copy link
Contributor

@askb askb commented Dec 2, 2023

::add-mask:: disables the output however the GHA steps through
the echo in the run. Therefore avoid sensitive data being
echo-ed in the logs being disabled add +x as the last arg
to bash.

Export only required vars into environment.

Signed-off-by: Anil Belur [email protected]

Copy link
Member

@tykeal tykeal left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Your commit subject does not match the actual code. That being said, in your testing did this solve it?

@askb askb changed the title Fix: Export only required vars into env Fix: Disable the bash echo with -x Dec 5, 2023
@askb
Copy link
Contributor Author

askb commented Dec 5, 2023

recheck

@askb
Copy link
Contributor Author

askb commented Dec 5, 2023

Your commit subject does not match the actual code. That being said, in your testing did this solve it?

I've tested this locally works correctly! Once merged will test with the reusable workflows.

@askb
Copy link
Contributor Author

askb commented Dec 5, 2023

recheck

@askb askb requested a review from tykeal December 5, 2023 22:33
@askb askb changed the title Fix: Disable the bash echo with -x Fix: Disable the bash echo with -x Dec 5, 2023
@askb askb changed the title Fix: Disable the bash echo with -x Fix: Disable the bash echo with +x Dec 5, 2023
::add-mask:: disables the output however the GHA steps through
the echo in the run. Therefore avoid sensitive data being
echo-ed in the logs being disabled add +x as the last arg
to bash.

Export only required vars into environment.

Signed-off-by: Anil Belur <[email protected]>
@tykeal tykeal merged commit 6b94fde into lfit:main Dec 5, 2023
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants