Skip to content

Conversation

penDerGraft
Copy link
Contributor

This PR adds explicit permissions to all workflow files.

@penDerGraft penDerGraft requested review from a team and Copilot April 10, 2025 22:17
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 all GitHub Actions workflow files to improve security and clarity of required access for each workflow.

  • Added permissions for contents, issues, and pull-requests where appropriate.
  • Introduced an empty permissions object for the release-notifier workflow.
  • Updated multiple workflow files to include explicit read/write permission settings.

Reviewed Changes

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

Show a summary per file
File Description
.github/workflows/release.yml Added "contents: write" to the release workflow.
.github/workflows/release-notifier.yml Added an empty permissions block.
.github/workflows/linter.yml Added "contents: read" for the linter workflow.
.github/workflows/copy-feature-issue.yml Included permissions for issues and contents.
.github/workflows/copy-documentation-issue.yml Added permissions for issues and contents; note extraneous dash.
.github/workflows/check-for-spammy-issues.yml Set permissions for issues, pull-requests, and contents.
.github/workflows/add-to-project.yml Added permissions for issues and contents.
Comments suppressed due to low confidence (1)

.github/workflows/copy-documentation-issue.yml:7

  • There is an extraneous dash on line 7 that might lead to YAML parsing errors; consider removing it to ensure the workflow configuration is valid.
   -

@bearcherian bearcherian reopened this Apr 16, 2025
@bearcherian bearcherian merged commit c5cf21b into main Apr 16, 2025
4 checks passed
@bearcherian bearcherian deleted the bp/update-workflow-permissions branch April 16, 2025 00:22
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