Skip to content

fix(ci): correct YAML syntax for permissions block - #2

Merged
iota9star merged 3 commits into
mainfrom
fix/self-check-yaml-syntax
Aug 13, 2026
Merged

fix(ci): correct YAML syntax for permissions block#2
iota9star merged 3 commits into
mainfrom
fix/self-check-yaml-syntax

Conversation

@iota9star

Copy link
Copy Markdown
Member

Follow-up to #1. Invalid YAML one-liner fixed.

The previous security hardening wrote 'permissions: contents: read' as a
single-line YAML mapping, which is invalid. Split into proper multi-line
format.
Copilot AI lite review requested due to automatic review settings August 13, 2026 14:31
@iota9star
iota9star merged commit 4d78b71 into main Aug 13, 2026
@iota9star
iota9star deleted the fix/self-check-yaml-syntax branch August 13, 2026 14:31

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Pull request overview

Fixes invalid GitHub Actions workflow YAML by expanding the permissions one-liner into a proper mapping, ensuring the workflow parses correctly and the intended token permissions are applied during deploys.

Changes:

  • Replaced invalid permissions: contents: read one-liner with a valid multi-line permissions block.

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

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