Skip to content

fix(security): add workflow permissions and update security SLA - #55

Merged
yuanweize merged 1 commit into
masterfrom
fix/workflow-permissions-security-sla
Sep 23, 2026
Merged

yuanweize merged 1 commit into
masterfrom
fix/workflow-permissions-security-sla

Conversation

@yuanweize

Copy link
Copy Markdown
Owner

Summary

  • Added explicit permissions: contents: read to .github/workflows/go.yml.
  • Updated Action dependencies in go.yml (actions/checkout@v4, actions/setup-go@v5).
  • Replaced unrealistic 48-hour SLA in SECURITY.md with practical acknowledgment expectation.

Risk

Low risk — CI workflow permission hardening and documentation realism.

Copilot AI lite review requested due to automatic review settings September 23, 2026 07:23
@yuanweize
yuanweize merged commit ab1e814 into master Sep 23, 2026
2 of 3 checks passed
@yuanweize
yuanweize deleted the fix/workflow-permissions-security-sla branch September 23, 2026 07:23
@coderabbitai

coderabbitai Bot commented Sep 23, 2026

Copy link
Copy Markdown

Review in Change Stack →

Navigate logical layers of code changes, visualize relationships, and explore their blast radius.

Note

Currently processing new changes in this PR. This may take a few minutes, please wait...

⚙️ Run configuration

Configuration used: Organization UI

Review profile: ASSERTIVE

Plan: Advanced

Run ID: a259edc3-e822-4fde-9d4e-15012c6dfb4f

📥 Commits

Reviewing files that changed from the base of the PR and between 74ec09a and a370d8c.

📒 Files selected for processing (2)
  • .github/workflows/go.yml
  • SECURITY.md
 _________________________________________
< Schrodinbug: works until I stare at it. >
 -----------------------------------------
  \
   \   (\__/)
       (•ㅅ•)
       /   づ
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Commit to this branch
  • Create a new PR

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

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.

Copilot review overview

🟢 Approval recommended

No unresolved review issues were identified.

Review effort: Lite
Findings: None

What changed in this PR

This PR hardens CI permissions, updates GitHub Actions dependencies, and revises the security-report acknowledgment policy.

Changes:

  • Adds read-only workflow permissions.
  • Updates checkout and Go setup actions.
  • Replaces the fixed 48-hour security SLA.
File Description
SECURITY.md Updates vulnerability-report acknowledgment expectations.
.github/​workflows/​go.yml Adds least-privilege permissions and newer action versions.

💡 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