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
Work around a permissions bug in actions/checkout. #8339
Conversation
Mind opening an issue to track changing this back? |
Will do. First I have to find a workaround that actually works 🙂 |
17438eb
to
d7cdb99
Compare
This PR works around two issues causing the markdown link check to fail in CI. 1. actions/checkout#760. A git permissions issue, apparently triggered by a combination of a git change and the behaviour of actions/checkout. 2. gaurav-nelson/github-action-markdown-link-check#129. Merging an updated version of the underlying package that fixes a bug in the handling of local #anchors. The workaround is a temporary patched fork of the link-checker action. This should be removed once the upstream issues are addressed.
d7cdb99
to
00372ef
Compare
@@ -16,7 +16,7 @@ jobs: | |||
with: | |||
PATTERNS: | | |||
**/**.md | |||
- uses: gaurav-nelson/github-action-markdown-link-check@1.0.14 | |||
- uses: creachadair/github-action-markdown-link-check@master |
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.
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.
No secret here, it's a fork!
In #8339 we pointed the markdown link checker action to a patched version that has the up-to-date version of the underlying check tool. In doing so, I missed the periodic cron job that runs the same workflow. Update it to use the patched version also.
In #8339 we pointed the markdown link checker action to a patched version that has the up-to-date version of the underlying check tool. In doing so, I missed the periodic cron job that runs the same workflow. Update it to use the patched version also.
In #8339 we pointed the markdown link checker action to a patched version that has the up-to-date version of the underlying check tool. In doing so, I missed the periodic cron job that runs the same workflow. Update it to use the patched version also.
In tendermint#8339 we pointed the markdown link checker action to a patched version that has the up-to-date version of the underlying check tool. In doing so, I missed the periodic cron job that runs the same workflow. Update it to use the patched version also.
Work around markdown-link-check issues.
This PR works around two issues causing the markdown link check to fail in CI.
fatal: unsafe repository (REPO is owned by someone else)
with ubuntu 20.04 container actions/checkout#760. A git permissions issue,apparently triggered by a combination of a git change and the behaviour of
actions/checkout.
Upgrade to markdown-link-check@3.10.0 gaurav-nelson/github-action-markdown-link-check#129.
Merging an updated version of the underlying package that fixes a bug in the
handling of local #anchors.
The workaround is a temporary patched fork of the link-checker action. This
should be removed once the upstream issues are addressed.