Skip to content
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

Adding specific workflow permissions #826

Merged
merged 1 commit into from
Mar 18, 2025
Merged

Adding specific workflow permissions #826

merged 1 commit into from
Mar 18, 2025

Conversation

shibayan
Copy link
Owner

No description provided.

@shibayan shibayan added the enhancement New feature or request label Mar 18, 2025
@shibayan shibayan requested a review from Copilot March 18, 2025 06:11
@shibayan shibayan self-assigned this Mar 18, 2025

Choose a reason for hiding this comment

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

Pull Request Overview

This PR adds specific workflow permissions to restrict access for GitHub Actions workflows. The changes include:

  • Adding a permissions block with "contents: read" to the build workflow.
  • Adding permissions to the publish workflow and reorganizing the deploy job keys.

Reviewed Changes

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

File Description
.github/workflows/build.yml Added permissions (contents: read) to the build job to enforce minimal access.
.github/workflows/publish.yml Added permissions (contents: read) to the publish job and updated the deploy job configuration by adding runs-on and reordering environment and permissions keys.
@shibayan shibayan merged commit 7c0bd00 into master Mar 18, 2025
4 checks passed
@shibayan shibayan deleted the add-permissions branch March 18, 2025 06:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant