Repository navigation
fix: add explicit permissions to the docs-check workflow - #105
Conversation
|
Note Gemini is unable to generate a summary for this pull request due to the file types involved not being currently supported. |
Codecov Report✅ All modified and coverable lines are covered by tests. 📢 Thoughts on this report? Let us know! |
There was a problem hiding this comment.
Pull Request Overview
This PR adds an explicit permissions block to the docs-check workflow to follow security best practices by specifying minimal required privileges. This aligns with the principle of least privilege for GitHub Actions workflows.
- Added
permissionsblock withcontents: readpermission to the docs-check workflow
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
|
@Phil-Fan Thanks so much for your helpful contributions! If possible, could you please share your email address? I'd love to get in touch. |
|
sure, my email address is |
|
@Phil-Fan Please fix the comment from copilot. Thanks. |
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Ⅰ. Motivation
Add an explicit permissions block with minimally required privileges
Ⅱ. Modifications
add permission to
.github/workflows/docs-check.ymlⅢ. Does this pull request fix one issue?
fix #103
Ⅳ. List the added test cases (unit test/integration test) if any, please explain if no tests are needed.
Ⅴ. Describe how to verify it
VI. Special notes for reviews
Checklist
make fmt.