-
Notifications
You must be signed in to change notification settings - Fork 3
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
docs(packages): Update README.md #178
Conversation
Signed-off-by: wuhuizuo <wuhuizuo@126.com>
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: The full list of commands accepted by this bot can be found here.
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
Overall, the changes are minor and the implementation looks good. Therefore, this pull request can be merged. |
21fe1de
to
4384ad4
Compare
The potential problem with this pull request is that it updates the A possible fix for this would be to add instructions on how to install Other than that, the changes seem to be straightforward and do not introduce any significant issues. |
also add the the verify step for the README.md with shelldoc tool Ref: https://github.com/endocode/shelldoc Signed-off-by: wuhuizuo <wuhuizuo@126.com>
4384ad4
to
802c368
Compare
There are no potential problems with the changes in this pull request. However, it would be beneficial to add a comment that explains what the shelldoc tool is and why it is being used in the verification step. This would help other contributors understand the purpose of the changes and the importance of the verification step. For fixing suggestions, the pull request is fine as is. However, if the suggested comment is added, it should be clear and concise, explaining the purpose of the shelldoc tool in the verification step. |
Signed-off-by: wuhuizuo <wuhuizuo@126.com>
There do not seem to be any potential problems with this pull request. However, the changes to the Here are some possible changes to the jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Install tools
run: |
- git clone https://github.com/hairyhenderson/gomplate
- cd gomplate
- GOBIN=/usr/local/bin go install ./cmd/gomplate
- rm -rf gomplate
- gomplate --version
+ # install gomplate and shelldoc
+ git clone https://github.com/hairyhenderson/gomplate && \
+ pushd gomplate && \
+ GOBIN=/usr/local/bin go install ./cmd/gomplate &&
+ popd &&
+ rm -rf gomplate && \
+ gomplate --version
+ git clone https://github.com/endocode/shelldoc && \
+ pushd shelldoc && \
+ GOBIN=/usr/local/bin go install ./cmd/shelldoc &&
+ popd &&
+ rm -rf shelldoc && \
+ shelldoc --version
- name: Checkout code
uses: actions/checkout@v4
# - name: Verify the README.md
# run: |
# shelldoc run --shell `which bash` packages/README.md And here is the modified version of the same file with the commented-out verification step removed: jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Install tools
run: |
- git clone https://github.com/hairyhenderson/gomplate
- cd gomplate
- GOBIN=/usr/local/bin go install ./cmd/gomplate
- rm -rf gomplate
- gomplate --version
+ # install gomplate and shelldoc
+ git clone https://github.com/hairyhenderson/gomplate && \
+ pushd gomplate && \
+ GOBIN=/usr/local/bin go install ./cmd/gomplate &&
+ popd &&
+ rm -rf gomplate && \
+ gomplate --version
+ git clone https://github.com/endocode/shelldoc && \
+ pushd shelldoc && \
+ GOBIN=/usr/local/bin go install ./cmd/shelldoc &&
+ popd &&
+ rm -rf shelldoc && \
+ shelldoc --version
- name: Checkout code
uses: actions/checkout@v4 |
There are no potential problems in the changes, but the pull request description is not clear enough to understand the purpose of the changes. One suggestion would be to add a brief summary of the changes in the PR description. Additionally, it might be useful to add some context on why the shelldoc tool is being used and how it helps with the project. Overall, this is a simple and straightforward change that adds a useful verification step to ensure the README.md is up-to-date. |
Signed-off-by: wuhuizuo <wuhuizuo@126.com>
4ddfd83
to
5eb2d29
Compare
The pull request updates the README.md file and adds a step for the verification process using the
Overall, the changes appear to be reasonable, and I would recommend merging the pull request once the suggested improvements are made. |
Signed-off-by: wuhuizuo <wuhuizuo@126.com>
Pull Request SummaryThis pull request updates the README.md file in the packages directory and adds a verification step for it using the shelldoc tool. The changes include adding the required tools for the verification as well. Potential Problems
Fix Suggestions
|
Review for
|
Pull Request Review for
|
Pull Request ReviewSummaryThis pull request updates the README.md file and adds a verification step using the Changes Made
Potential Problems
Suggestions
|
also add the the verify step for the README.md with shelldoc tool
Ref: https://github.com/endocode/shelldoc
Signed-off-by: wuhuizuo wuhuizuo@126.com