Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 4 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,15 @@ name: Release
on:
pull_request:
types: [ closed ]

Copy link

Copilot AI Apr 1, 2026

Choose a reason for hiding this comment

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

This blank line contains trailing whitespace. Please remove the extra spaces to avoid churn in diffs and potential whitespace/linting failures.

Suggested change

Copilot uses AI. Check for mistakes.
permissions:
contents: write
pull-requests: write

jobs:
release:
Comment on lines +6 to 12
Copy link

Copilot AI Apr 1, 2026

Choose a reason for hiding this comment

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

Moving permissions to the workflow level makes these write permissions the default for all jobs in this workflow. If additional jobs are added later, consider either keeping write permissions scoped to the release job or explicitly overriding permissions for other jobs to preserve least-privilege.

Suggested change
permissions:
contents: write
pull-requests: write
jobs:
release:
jobs:
release:
permissions:
contents: write
pull-requests: write

Copilot uses AI. Check for mistakes.
if: github.event.pull_request.merged == true
runs-on: ubuntu-latest
permissions:
contents: write
pull-requests: write
steps:
- uses: actions/checkout@v6
with:
Expand Down
7 changes: 4 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -46,14 +46,15 @@ name: Release
on:
pull_request:
types: [ closed ]

Copy link

Copilot AI Apr 1, 2026

Choose a reason for hiding this comment

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

This blank line contains trailing whitespace. Please remove the extra spaces to avoid churn in diffs and potential whitespace/linting failures.

Suggested change

Copilot uses AI. Check for mistakes.
permissions:
contents: write
pull-requests: write

jobs:
release:
Comment on lines +49 to 55
Copy link

Copilot AI Apr 1, 2026

Choose a reason for hiding this comment

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

The YAML example now sets permissions at the workflow level, but the later "## Permissions" section still says to set permissions under the job's permissions key. Please update that text to reflect that workflow-level permissions is also valid (or adjust the example back to job-level) so the README stays consistent.

Suggested change
permissions:
contents: write
pull-requests: write
jobs:
release:
jobs:
release:
permissions:
contents: write
pull-requests: write

Copilot uses AI. Check for mistakes.
if: github.event.pull_request.merged == true
runs-on: ubuntu-latest
permissions:
contents: write
pull-requests: write
steps:
- uses: actions/checkout@v6
with:
Expand Down
Loading