Skip to content

ci: compile gh-aw-marketplace workflows in CI#26888

Merged
pelikhan merged 2 commits intomainfrom
copilot/add-ci-job-checkout-gh-aw-marketplace
Apr 17, 2026
Merged

ci: compile gh-aw-marketplace workflows in CI#26888
pelikhan merged 2 commits intomainfrom
copilot/add-ci-job-checkout-gh-aw-marketplace

Conversation

Copy link
Copy Markdown
Contributor

Copilot AI commented Apr 17, 2026

Summary

  • add a new integration-marketplace-compile job to .github/workflows/ci.yml
  • clone github/gh-aw-marketplace in CI and compile its workflows with gh-aw
  • enforce strict compilation and fail the job if warning output is detected
  • fail early when expected workflow directory is missing

Validation

  • make agent-finish (fails due pre-existing testifylint issues in pkg/constants/spec_test.go unrelated to this change)
  • parallel_validation initially ran successfully (Code Review + CodeQL), then a follow-up run was blocked by validation budget exhaustion

Copilot AI and others added 2 commits April 17, 2026 14:53
Agent-Logs-Url: https://github.com/github/gh-aw/sessions/b745801a-a2b9-4edb-96b4-8360c5685456

Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
Agent-Logs-Url: https://github.com/github/gh-aw/sessions/b745801a-a2b9-4edb-96b4-8360c5685456

Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
@pelikhan pelikhan marked this pull request as ready for review April 17, 2026 15:10
Copilot AI review requested due to automatic review settings April 17, 2026 15:10
@pelikhan pelikhan merged commit 90335a1 into main Apr 17, 2026
54 of 55 checks passed
@pelikhan pelikhan deleted the copilot/add-ci-job-checkout-gh-aw-marketplace branch April 17, 2026 15:10
This was referenced Apr 17, 2026
Copy link
Copy Markdown
Contributor

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

Adds a new CI integration job that clones github/gh-aw-marketplace and compiles its workflows with the local gh-aw binary, failing on warnings and missing workflow directories.

Changes:

  • Add integration-marketplace-compile job to CI.
  • Build gh-aw in CI, clone github/gh-aw-marketplace, and run gh-aw compile against its workflows.
  • Enforce strict compilation and fail the job when warnings are detected.
Show a summary per file
File Description
.github/workflows/ci.yml Introduces a new CI job to compile gh-aw-marketplace workflows using the repo-built gh-aw binary and enforce warning-free output.

Copilot's findings

Tip

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

  • Files reviewed: 1/1 changed files
  • Comments generated: 1

Comment thread .github/workflows/ci.yml
Comment on lines +2503 to +2514
WORKFLOW_DIR="${MARKETPLACE_DIR}/.github/workflows"
LOG_FILE="/tmp/gh-aw-marketplace-compile.log"

if [ ! -d "$WORKFLOW_DIR" ]; then
echo "❌ Expected workflow directory not found: $WORKFLOW_DIR"
echo "Available workflow-like directories:"
find "$MARKETPLACE_DIR" -maxdepth 3 -type d -name workflows || true
exit 1
fi

echo "Compiling workflows from: $WORKFLOW_DIR"
./gh-aw compile --dir "$WORKFLOW_DIR" --strict --no-check-update 2>&1 | tee "$LOG_FILE"
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