Conversation
There was a problem hiding this comment.
Pull request overview
This PR synchronizes 26 GitHub Actions workflow files from the source repository (mrz1836/go-broadcast) with consistent formatting and security improvements. The changes enhance the security posture by adopting a more restrictive permissions model and improve code quality through environment variable best practices.
- Updated permission model from workflow-level defaults to explicit job-level permissions following least-privilege principle
- Refactored inline template expansion to environment variables in
sync-labels.ymlfor improved security and readability - Standardized security comments across all workflow files for consistency
Reviewed changes
Copilot reviewed 26 out of 26 changed files in this pull request and generated no comments.
Show a summary per file
| File | Description |
|---|---|
.github/workflows/sync-labels.yml |
Updated permissions model, moved step outputs to env block to avoid inline template expansion |
.github/workflows/stale-check.yml |
Changed to empty default permissions with updated comment |
.github/workflows/scorecard.yml |
Changed to empty default permissions with updated comment |
.github/workflows/pull-request-management.yml |
Changed to empty default permissions with updated comment |
.github/workflows/pull-request-management-fork.yml |
Changed to empty default permissions with updated comment |
.github/workflows/fortress.yml |
Changed to empty default permissions with updated comment |
.github/workflows/fortress-warm-cache.yml |
Changed to empty default permissions, added job-level permissions |
.github/workflows/fortress-test-validation.yml |
Changed to empty default permissions with updated comment |
.github/workflows/fortress-test-suite.yml |
Changed to empty default permissions, added job-level permissions to three jobs |
.github/workflows/fortress-test-matrix.yml |
Changed to empty default permissions with updated comment |
.github/workflows/fortress-test-magex.yml |
Changed to empty default permissions, added job-level permissions |
.github/workflows/fortress-test-fuzz.yml |
Changed to empty default permissions with updated comment |
.github/workflows/fortress-setup-config.yml |
Changed to empty default permissions, added job-level permissions |
.github/workflows/fortress-security-scans.yml |
Changed to empty default permissions, added job-level permissions to three jobs |
.github/workflows/fortress-release.yml |
Changed to empty default permissions with updated comment |
.github/workflows/fortress-pre-commit.yml |
Changed to empty default permissions, added job-level permissions |
.github/workflows/fortress-coverage.yml |
Changed to empty default permissions with updated comment |
.github/workflows/fortress-completion-tests.yml |
Changed to empty default permissions, added job-level permissions |
.github/workflows/fortress-completion-statistics.yml |
Changed to empty default permissions, added job-level permissions |
.github/workflows/fortress-completion-report.yml |
Changed to empty default permissions, added job-level permissions to four jobs |
.github/workflows/fortress-completion-finalize.yml |
Changed to empty default permissions, added job-level permissions |
.github/workflows/fortress-code-quality.yml |
Changed to empty default permissions, added job-level permissions to three jobs |
.github/workflows/fortress-benchmarks.yml |
Changed to empty default permissions, added job-level permissions |
.github/workflows/dependabot-auto-merge.yml |
Changed to empty default permissions with updated comment |
.github/workflows/codeql-analysis.yml |
Changed to empty default permissions with updated comment |
.github/workflows/auto-merge-on-approval.yml |
Changed to empty default permissions, added job-level permissions |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What Changed
.github/workflows/directory with consistent whitespace and indentationWhy It Was Necessary
Testing Performed
Impact / Risk