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

workflows: fix doc generation check #329

Merged
merged 1 commit into from
Jul 7, 2024

Conversation

suvayu
Copy link
Collaborator

@suvayu suvayu commented Jul 4, 2024

GH runs custom steps as bash -e (errexit), which means any command
failure leads to the shell terminating. To simplify this complexity,
factor out to a dedicated script, which we can now also check with
shellcheck.

TestGeneratedPkgs on my fork

Note: shellcheck says the last line could be if ! cmd, but for this script that would be rather cumbersome, so I ignored it. (SC2181)

Related issues

Closes #322

Checklist

Fixes abelsiqueira#322

GH runs custom steps as `bash -e` (`errexit`), which means any command
failure leads to the shell terminating.  To simplify this complexity,
factor out to a dedicated script, which we can now also check with
shellcheck.
@suvayu suvayu requested a review from abelsiqueira July 4, 2024 19:53
Copy link
Owner

@abelsiqueira abelsiqueira left a comment

Choose a reason for hiding this comment

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

That's great, thanks a lot.

@abelsiqueira abelsiqueira merged commit ede1175 into abelsiqueira:main Jul 7, 2024
2 checks passed
@abelsiqueira
Copy link
Owner

@allcontributors please add @suvayu for code

Copy link
Contributor

@abelsiqueira

I've put up a pull request to add @suvayu! 🎉

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

[Bug] Workflow TestGeneratedPkg is failing
2 participants