Skip to content
Merged
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
2 changes: 1 addition & 1 deletion .github/workflows/release.triggered.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ on:
workflow_dispatch:

permissions:
contents: write
contents: read

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Logic Error: Change contradicts the stated intent of the PR

The PR title says "fix: change back the workflow permissions to contents: write", but this diff does the opposite — it downgrades contents from write to read.

A release workflow almost certainly needs contents: write to create tags, GitHub Releases, or push commits. With only contents: read, any step that writes to the repository (e.g., creating a release or tag) will fail with a permissions error.

Should revert to contents: write to match the stated fix and satisfy the workflow's runtime requirements.

Suggested change
contents: read
contents: write

Double-check suggestion before committing. Edit this comment for amendments.


Please provide feedback on the review comment by checking the appropriate box:

  • 🌟 Awesome comment, a human might have missed that.
  • ✅ Helpful comment
  • 🤷 Neutral
  • ❌ This comment is not helpful

pull-requests: write

jobs:
Expand Down
Loading