Skip to content

Potential fix for code scanning alert no. 10: Workflow does not contain permissions - #966

Merged
cristiangreco merged 3 commits into
mainfrom
alert-autofix-10
Sep 28, 2025
Merged

Potential fix for code scanning alert no. 10: Workflow does not contain permissions#966
cristiangreco merged 3 commits into
mainfrom
alert-autofix-10

Conversation

@cristiangreco

@cristiangreco cristiangreco commented Sep 28, 2025

Copy link
Copy Markdown
Contributor

This pull request makes a minor update to the GitHub Actions CI workflow configuration. The main change is tightening permissions and improving security for the workflow.

  • Security improvements:
    • .github/workflows/ci.yml: Explicitly sets permissions: {} to restrict default permissions for the workflow, and disables credential persistence during the actions/checkout step by setting persist-credentials: false.

cristiangreco and others added 2 commits September 28, 2025 19:09
…in permissions

Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>
Updated CI workflow permissions to an empty object.
@cristiangreco
cristiangreco marked this pull request as ready for review September 28, 2025 17:13
Disable credential persistence for GitHub Actions checkout.
@cristiangreco
cristiangreco added this pull request to the merge queue Sep 28, 2025
Merged via the queue into main with commit a067208 Sep 28, 2025
4 checks passed
@cristiangreco
cristiangreco deleted the alert-autofix-10 branch September 28, 2025 17:17
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