Skip to content

fix: go build workflow#561

Merged
sergiught merged 1 commit intomainfrom
fix/go-build
Mar 25, 2026
Merged

fix: go build workflow#561
sergiught merged 1 commit intomainfrom
fix/go-build

Conversation

@sergiught
Copy link
Copy Markdown
Contributor

@sergiught sergiught commented Mar 25, 2026

Description

Fixes https://github.com/openfga/language/actions/runs/23546991296?pr=561

References

Review Checklist

  • I have clicked on "allow edits by maintainers".
  • I have added documentation for new/changed functionality in this PR or in a PR to openfga.dev [Provide a link to any relevant PRs in the references section above]
  • The correct base branch is being used, if not main
  • I have added tests to validate that the change in functionality is working as expected

Summary by CodeRabbit

  • Chores
    • Optimized CI/CD workflow configuration by removing duplicate permission declarations.

Note: This release contains only internal infrastructure improvements with no visible changes to end-users or product functionality.

Copilot AI review requested due to automatic review settings March 25, 2026 14:43
@sergiught sergiught requested review from a team as code owners March 25, 2026 14:43
@coderabbitai
Copy link
Copy Markdown
Contributor

coderabbitai bot commented Mar 25, 2026

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro

Run ID: 68c1ed0c-0e68-414e-916c-15703a418916

📥 Commits

Reviewing files that changed from the base of the PR and between e196e6c and 06a9928.

📒 Files selected for processing (1)
  • .github/workflows/pkg-go-build.yaml
💤 Files with no reviewable changes (1)
  • .github/workflows/pkg-go-build.yaml

Walkthrough

Removed duplicate permissions declaration from a GitHub Actions workflow file. A top-level permissions block containing contents: read was removed, leaving only a single equivalent permissions block. This eliminates redundant YAML configuration while maintaining the same permission level.

Changes

Cohort / File(s) Summary
GitHub Actions Workflow Configuration
.github/workflows/pkg-go-build.yaml
Removed duplicate permissions block declaration while retaining the contents: read permission, reducing redundant configuration.

Estimated code review effort

🎯 1 (Trivial) | ⏱️ ~2 minutes

Suggested reviewers

  • SoulPancake
  • justincoh
🚥 Pre-merge checks | ✅ 3
✅ Passed checks (3 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title 'fix: go build workflow' accurately describes the main change: removing duplicate permissions declarations in the go build workflow file to fix configuration issues.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch fix/go-build

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 and usage tips.

Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Removes a duplicated permissions block in the reusable Go build GitHub Actions workflow to avoid redundant configuration and keep the workflow definition clean.

Changes:

  • Deleted the extra top-level permissions: contents: read stanza so only a single permissions declaration remains.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@sergiught sergiught added this pull request to the merge queue Mar 25, 2026
Merged via the queue into main with commit 2c54451 Mar 25, 2026
17 checks passed
@sergiught sergiught deleted the fix/go-build branch March 25, 2026 14:51
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.

3 participants