Skip to content

Conversation

@arunim2405
Copy link
Member

Potential fix for https://github.com/StackGuardian/tirith/security/code-scanning/18

To fix the issue, we will add a permissions block at the root level of the workflow file. Since the workflow only performs linting and testing tasks, it does not require any write permissions. The minimal permission required is contents: read, which allows the workflow to read the repository contents. This change ensures adherence to the principle of least privilege.


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

…in permissions

Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>
@arunim2405 arunim2405 marked this pull request as ready for review May 2, 2025 10:21
@sonarqubecloud
Copy link

sonarqubecloud bot commented May 2, 2025

@codecov
Copy link

codecov bot commented May 2, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

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