8000 Add permissions block by aeisenberg · Pull Request #32 · github/gh-codeql · GitHub
[go: up one dir, main page]

Skip to content

Add permissions block #32

New issue
Merged
merged 1 commit into from
Feb 14, 2025
Merged

Add permissions block #32

merged 1 commit into from
Feb 14, 2025

Conversation

aeisenberg
Copy link
Contributor

Securoty hardening.

@Copilot Copilot AI review requested due to automatic review settings February 13, 2025 22:39
@aeisenberg aeisenberg requested a review from a team as a code owner February 13, 2025 22:39
Copy link
@Copilot Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

PR Overview

This PR adds a permissions block to the GitHub Actions workflow to support security hardening.

  • Introduces a permissions section for the workflow to restrict access scopes to "contents" and "releases".

Changes

File Description
.github/workflows/pr-checks.yml Added a permissions block with read access for contents and releases

Copilot reviewed 1 out of 1 changed files in this pull request and generated no comments.

Tip: Copilot only keeps its highest confidence comments to reduce noise and keep you focused. Learn more

Securoty hardening.
@aeisenberg aeisenberg force-pushed the aeisenberg/permissions branch from aec777e to 1a48e8f Compare February 13, 2025 22:41
Copy link
@adityasharad adityasharad left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Also update repo settings?

@aeisenberg
Copy link
Contributor Author

Settings are now set to readonly tokens by default.

@aeisenberg aeisenberg merged commit cb1d8f3 into main Feb 14, 2025
3 checks passed
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
0