-
Notifications
You must be signed in to change notification settings - Fork 10.3k
markdown lint job: set ETCD_ROOT_DIR to root directory of git repository #19666
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
Conversation
|
Hi @joshjms. Thanks for your PR. I'm waiting for a etcd-io member to verify that this patch is reasonable to test. If it is, they should reply with Once the patch is verified, the new status will be reflected by the I understand the commands that are listed here. DetailsInstructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. |
|
/retitle markdown lint job: set ETCD_ROOT_DIR to root directory of git repository |
|
/test pull-etcd-markdown-lint |
d37bbad to
ee632a1
Compare
|
/test pull-etcd-markdown-lint |
|
/test pull-etcd-verify |
|
@ivanvc The lint works now. I'll rollback the dummy README changes. Other than that, should I fix the existing errors and/or disable certain criteria for the linting (e.g. line length)? |
1b8cb92 to
332a7bb
Compare
It can be done in a follow-up PR or this one. If you do it in this one, add a new commit that updates the configuration file. Thanks :) |
|
Btw, please squash your commits, thanks |
I think I'll disable the line-length lints in this commit. If there are any other fails, I'll fix the markdown files later in another PR. |
332a7bb to
cdc3e38
Compare
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted filessee 20 files with indirect coverage changes @@ Coverage Diff @@
## main #19666 +/- ##
==========================================
- Coverage 68.85% 68.76% -0.10%
==========================================
Files 421 421
Lines 35855 35855
==========================================
- Hits 24689 24656 -33
- Misses 9737 9769 +32
- Partials 1429 1430 +1 Continue to review full report in Codecov by Sentry.
🚀 New features to boost your workflow:
|
|
@ivanvc I'll fix the error markdown files. I disabled the line length checks (I think we don't want it). // MD013/line-length : Line length : https://github.com/DavidAnson/markdownlint/blob/v0.37.4/doc/md013.md
// "MD013": {
// // Number of characters
// "line_length": 80,
// // Number of characters for headings
// "heading_line_length": 80,
// // Number of characters for code blocks
// "code_block_line_length": 80,
// // Include code blocks
// "code_blocks": true,
// // Include tables
// "tables": true,
// // Include headings
// "headings": true,
// // Strict length checking
// "strict": false,
// // Stern length checking
// "stern": false
// },
"MD013": false,should I remove it entirely or commenting it is ok? |
|
/test pull-etcd-markdown-lint |
affbe2e to
cdd6b5e
Compare
062ccd9 to
fbf63b6
Compare
fbf63b6 to
8e5f288
Compare
f6199cd to
e847494
Compare
e847494 to
f52c8b9
Compare
Signed-off-by: joshjms <joshjms1607@gmail.com>
Add newline at the end of file Signed-off-by: joshjms <joshjms1607@gmail.com>
f52c8b9 to
c80e617
Compare
ivanvc
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM. Thanks, @joshjms.
jmhbnz
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM - Thanks for fixing this @joshjms
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: ivanvc, jmhbnz, joshjms The full list of commands accepted by this bot can be found here. The pull request process is described here DetailsNeeds approval from an approver in each of these files:
Approvers can indicate their approval by writing |
Add
ETCD_ROOT_DIR="$(git rev-parse --show-toplevel)"inmarkdown_diff_lint.sh.Solves #18059
Please read https://github.com/etcd-io/etcd/blob/main/CONTRIBUTING.md#contribution-flow.