Skip to content

Potential fix for code scanning alert no. 3: Workflow does not contain permissions #4

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

Closed
wants to merge 2 commits into from

Conversation

ivanovyordan
Copy link
Member

Potential fix for https://github.com/dext/pipelinewise-target-snowflake/security/code-scanning/3

To fix the issue, we will add a permissions block to the workflow. This block will explicitly define the minimal permissions required for the workflow to function. Since the workflow primarily involves checking out the repository, setting up Python, and running tests, it only requires contents: read permissions. We will add this permissions block at the root level of the workflow to apply it to all jobs.


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>
…n permissions

Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>
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.

1 participant