Skip to content

fix: resolve AI context review workflow CI failures#261

Merged
udhaykumarbala merged 36 commits into0gfoundation:mainfrom
udhaykumarbala:udhay/fix-ai-context-workflow
Mar 17, 2026
Merged

fix: resolve AI context review workflow CI failures#261
udhaykumarbala merged 36 commits into0gfoundation:mainfrom
udhaykumarbala:udhay/fix-ai-context-workflow

Conversation

@udhaykumarbala
Copy link
Collaborator

Summary

  • Shell quoting fix — replaced $'\n' string concatenation with an add() helper function to avoid shell misinterpretation of grep pipes inside $() subshells (caused Permission denied on CI)
  • Contract grep guard — extracted grep results into variables and added if [ -f docs/ai-context.md ] check
  • Missing labels — added gh label create with || true before issue creation so it doesn't fail on first run
  • Body file — switched from --body "$BODY" to --body-file /tmp/report.md to avoid escaping issues with large markdown

Test plan

  • Trigger workflow manually via Actions tab and verify issue is created successfully

This reverts commit b30984a.
@vercel
Copy link

vercel bot commented Mar 17, 2026

@udhaykumarbala is attempting to deploy a commit to the 0g-Frontend Team on Vercel.

A member of the Team first needs to authorize it.

@udhaykumarbala udhaykumarbala merged commit d48e05b into 0gfoundation:main Mar 17, 2026
2 of 4 checks passed
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.

1 participant