Skip to content

Conversation

@shivam-sood89
Copy link
Collaborator

Potential fix for https://github.com/seequent/return-dispatch/security/code-scanning/4

To fix the issue, we will add a permissions block at the root level of the workflow file. This block will explicitly limit the permissions of the GITHUB_TOKEN to contents: read, which is sufficient for the tasks performed in this workflow. This change ensures that the workflow does not inadvertently inherit broader permissions from the repository.


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>
@shivam-sood89 shivam-sood89 marked this pull request as ready for review June 23, 2025 15:25
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.

3 participants