Skip to content

fix: recompile quality-gate.lock.yml via gh aw compile#170

Merged
microsasa merged 1 commit intomainfrom
fix/quality-gate-recompile
Mar 19, 2026
Merged

fix: recompile quality-gate.lock.yml via gh aw compile#170
microsasa merged 1 commit intomainfrom
fix/quality-gate-recompile

Conversation

@microsasa
Copy link
Owner

Fixes #168

The previous commit manually edited the lock file which broke the frontmatter hash validation (ERR_CONFIG: Lock file is outdated). This regenerates it properly from the .md source using gh aw compile.

Should have done this from the start instead of editing the lock file by hand.

Previous commit manually edited the lock file which broke the
frontmatter hash validation. This regenerates it properly from
the .md source.

Fixes #168

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Copilot AI review requested due to automatic review settings March 19, 2026 17:41
@microsasa microsasa merged commit 9e87a01 into main Mar 19, 2026
4 checks passed
@microsasa microsasa deleted the fix/quality-gate-recompile branch March 19, 2026 17:41
Copy link

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

Regenerates the compiled quality-gate.lock.yml workflow using gh aw compile to fix the lock/frontmatter hash mismatch that caused ERR_CONFIG: Lock file is outdated, ensuring the Quality Gate workflow is back in a valid compiled state.

Changes:

  • Updates gh-aw-metadata.frontmatter_hash to match the current .github/workflows/quality-gate.md.
  • Re-emits compiled workflow YAML (concurrency, prompt construction, and safe-outputs tool config) as produced by the compiler.
  • Adjusts several compiled env/outputs sections (e.g., removes the previously compiled “sanitized” step/outputs).

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

concurrency:
group: "gh-aw-${{ github.workflow }}-${{ inputs.pr_number || github.ref || github.run_id }}"
cancel-in-progress: true
group: "gh-aw-${{ github.workflow }}"
mkdir -p /tmp/gh-aw/mcp-logs/safeoutputs
cat > /opt/gh-aw/safeoutputs/config.json << 'GH_AW_SAFE_OUTPUTS_CONFIG_EOF'
{"add_comment":{"max":1,"target":"*"},"add_labels":{"max":3,"target":"*"},"close_pull_request":{"github-token":"${{ secrets.GH_AW_WRITE_TOKEN }}","max":1,"target":"*"},"missing_data":{},"missing_tool":{},"noop":{"max":1},"submit_pull_request_review":{"max":1,"target":"*"}}
{"add_comment":{"max":1,"target":"*"},"add_labels":{"max":3,"target":"*"},"close_pull_request":{"github-token":"${{ secrets.GH_AW_WRITE_TOKEN }}","max":1,"target":"*"},"missing_data":{},"missing_tool":{},"noop":{"max":1},"submit_pull_request_review":{"max":1}}
microsasa pushed a commit that referenced this pull request Mar 20, 2026
- Changelog: new entry for quality gate dispatch fix (PRs #169, #170, this PR)
- Agent table: quality gate trigger updated to workflow_dispatch
- Pitfall #21: safe output target values differ by handler type
- Pitfall #18: updated with target: ${{ inputs.pr_number }} guidance
- History: new entry for 2026-03-19/20 quality gate fix + first autonomous PRs

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
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.

Quality gate never fires on clean PRs — orchestrator missing happy path

2 participants