Skip to content

Conversation

@gregnazario
Copy link
Contributor

Potential fix for https://github.com/aptos-labs/aptos-python-sdk/security/code-scanning/7

To fix the issue, we will add a permissions block to the workflow. Since the workflow involves checking out code and publishing to PyPI, it requires contents: read for accessing the repository's contents and packages: write for publishing the package. These permissions will be explicitly defined at the job level to limit their scope to the release job.


Suggested fixes powered by Copilot Autofix. Review carefully before merging.

…n permissions

Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>
@gregnazario gregnazario marked this pull request as ready for review May 30, 2025 02:09
@gregnazario gregnazario requested review from a team and davidiw as code owners May 30, 2025 02:09
@gregnazario gregnazario closed this Jun 6, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants