Skip to content

Add permissions to Swift GitHub Actions workflow#6

Merged
sbooth merged 1 commit intomainfrom
wf-perm
Jan 22, 2026
Merged

Add permissions to Swift GitHub Actions workflow#6
sbooth merged 1 commit intomainfrom
wf-perm

Conversation

@sbooth
Copy link
Copy Markdown
Owner

@sbooth sbooth commented Jan 22, 2026

Added permissions section to the Swift workflow.

Added permissions section to the Swift workflow.
Copilot AI review requested due to automatic review settings January 22, 2026 18:15
Copy link
Copy Markdown

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 pull request adds an explicit permissions section to the Swift GitHub Actions workflow, implementing the principle of least privilege by restricting the workflow to read-only access to repository contents.

Changes:

  • Added permissions section with contents: read to restrict workflow permissions
  • Removed unnecessary blank lines for cleaner formatting

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@sbooth sbooth merged commit d25db4d into main Jan 22, 2026
7 checks passed
@sbooth sbooth deleted the wf-perm branch January 22, 2026 18:23
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