Skip to content

add permissions #11

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

Merged
merged 1 commit into from
May 5, 2025
Merged

add permissions #11

merged 1 commit into from
May 5, 2025

Conversation

logica0419
Copy link
Owner

No description provided.

@logica0419 logica0419 requested a review from Copilot May 5, 2025 21:48
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.

Pull Request Overview

This PR adds explicit permissions to GitHub Actions workflows to define minimal access for pull_request events.

  • In .github/workflows/spell.yaml, a permissions block specifying "contents: read" is added for the spell-check job.
  • In .github/workflows/go.yml, a similar permissions block is introduced for the lint job.

Reviewed Changes

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

File Description
.github/workflows/spell.yaml Added a permissions block to restrict repository content access
.github/workflows/go.yml Added a permissions block to restrict repository content access

@logica0419 logica0419 merged commit e3d76dc into main May 5, 2025
7 checks passed
@logica0419 logica0419 deleted the permissions branch May 5, 2025 21:50
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