Skip to content

fix: policy update workflow#941

Merged
meeh0w merged 1 commit into
mainfrom
fix/policy-update-workflow
May 29, 2026
Merged

fix: policy update workflow#941
meeh0w merged 1 commit into
mainfrom
fix/policy-update-workflow

Conversation

@meeh0w

@meeh0w meeh0w commented May 29, 2026

Copy link
Copy Markdown
Collaborator

Summary

Jira ticket:
Figma:

Notes

Testing

Testing Instructions

Media

Copilot AI review requested due to automatic review settings May 29, 2026 18:38
@meeh0w meeh0w requested a review from a team as a code owner May 29, 2026 18:38

Copilot AI left a comment

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.

Pull request overview

This PR updates the LavaMoat policy update workflow to avoid shell argument-size limits when committing large policy.json files through GitHub’s GraphQL API.

Changes:

  • Replaces in-memory JSON accumulation with temporary JSONL files.
  • Uses jq --rawfile and --slurpfile to avoid passing large base64 payloads through argv.
  • Preserves the existing createCommitOnBranch flow for signed policy update commits.

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

@meeh0w meeh0w merged commit 181f4d0 into main May 29, 2026
11 checks passed
@meeh0w meeh0w deleted the fix/policy-update-workflow branch May 29, 2026 18:48
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.

4 participants