fix: recompile quality-gate.lock.yml via gh aw compile#170
Merged
Conversation
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>
There was a problem hiding this comment.
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_hashto 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>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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.mdsource usinggh aw compile.Should have done this from the start instead of editing the lock file by hand.