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 bug in update getting started guide workflow #1257

Conversation

austinvazquez
Copy link
Contributor

@austinvazquez austinvazquez commented Jun 1, 2024

Issue #, if available:
Found via testing for #1248

When running in verbose mode, git diff is ran in interactive mode which blocked execution of the script. Additionally when assert mode is disabled, the script failed to exit properly.

Description of changes:
This change fixes a bug in the update getting started guide workflow when assertions are disabled. This change also fixes a bug where --verbose executed git diff command in interactive mode.

Testing performed:
Successfully ran locally:

  1. bash scripts/update-getting-started-guide.sh --verbose 0.7
  2. bash scripts/update-getting-started-guide.sh --assert 0.8

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

@austinvazquez austinvazquez marked this pull request as ready for review June 1, 2024 23:57
@austinvazquez austinvazquez requested a review from a team as a code owner June 1, 2024 23:57
This change fixes a bug in the update getting started guide workflow
when assertions are disabled. This change also fixes a bug where
'--verbose' executed git diff command in interactive mode.

Signed-off-by: Austin Vazquez <[email protected]>
@austinvazquez austinvazquez force-pushed the fix-update-getting-started-guide-workflow branch from a583fd5 to 7252bc3 Compare June 2, 2024 00:03
@austinvazquez austinvazquez added github_actions Pull requests that update GitHub Actions code easy-to-review Pull requests that are straight forward to review labels Jun 4, 2024
@austinvazquez austinvazquez merged commit 1a00a81 into awslabs:main Jun 13, 2024
14 checks passed
@austinvazquez austinvazquez deleted the fix-update-getting-started-guide-workflow branch June 13, 2024 17:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
easy-to-review Pull requests that are straight forward to review github_actions Pull requests that update GitHub Actions code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants