Recompile workflows to sync lock files#21913
Conversation
Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com> Agent-Logs-Url: https://github.com/github/gh-aw/sessions/e5e5237b-3096-4a03-8c76-935d62684c0b
There was a problem hiding this comment.
Pull request overview
Regenerates the compiled workflow lock file for the “Smoke Codex” workflow to bring it back in sync with its source markdown.
Changes:
- Regenerated
.github/workflows/smoke-codex.lock.ymlviamake recompile(net -8 lines). - Safe-output custom action
add_smoked_labelwas recompiled to a fallbackpayload-only schema and step wiring.
Comments suppressed due to low confidence (1)
.github/workflows/smoke-codex.lock.yml:1564
- This step now passes the safe-output JSON blob as a single
payloadinput toactions-ecosystem/action-add-labels. When action inputs are successfully resolved, the workflow should pass individual inputs viafromJSON(...).<input>; sending a singlepayloadstring is the compiler fallback used whenaction.ymlcouldn’t be fetched, and is unlikely to matchaction-add-labels’ declared inputs (typicallylabelsand optionallynumber).
Please regenerate the lock file with action inputs resolved so this step uses the explicit inputs (e.g. labels: / number:) rather than payload:.
uses: actions-ecosystem/action-add-labels@18f1af5e3544586314bbe15c0273249c770b2daf # v1
env:
GITHUB_TOKEN: ${{ github.token }}
with:
payload: ${{ steps.process_safe_outputs.outputs.action_add_smoked_label_payload }}
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
| { | ||
| "description": "Add the 'smoked' label to the current pull request (can only be called once)", | ||
| "inputSchema": { | ||
| "additionalProperties": false, | ||
| "additionalProperties": true, | ||
| "properties": { | ||
| "labels": { | ||
| "description": "The labels' name to be added. Must be separated with line breaks if there're multiple labels.", | ||
| "type": "string" | ||
| }, | ||
| "number": { | ||
| "description": "The number of the issue or pull request.", | ||
| "payload": { | ||
| "description": "JSON-encoded payload to pass to the action", | ||
| "type": "string" | ||
| } | ||
| }, | ||
| "required": [ | ||
| "labels" | ||
| ], | ||
| "type": "object" |
There was a problem hiding this comment.
The add_smoked_label tool schema has fallen back to the permissive payload-only form (additionalProperties: true and no required fields). In this repo that fallback is only generated when the compiler cannot fetch/parse the action's action.yml (so it can't resolve real inputs). This will desync the agent instructions (which call the tool with {labels: ...}) and removes validation of required inputs.
Please re-run compilation in an environment that can fetch actions-ecosystem/action-add-labels metadata (or otherwise restore resolved inputs) so the tool schema exposes the action’s actual inputs (e.g., labels, number) with additionalProperties: false and appropriate required fields.
This issue also appears on line 1560 of the same file.
See below for a potential fix:
"additionalProperties": false,
"properties": {
"labels": {
"description": "Labels to add to the pull request",
"type": "array",
"items": {
"type": "string"
},
"minItems": 1
},
"number": {
"description": "Pull request number to label (defaults to the current pull request if omitted)",
"type": "integer"
}
},
"required": [
"labels"
],
The workflow lock file
.github/workflows/smoke-codex.lock.ymlwas out of sync with its source markdown, causing GitHub Actions to run stale workflow configuration.Changes
.github/workflows/smoke-codex.lock.yml— regenerated from source markdown viamake recompile; net -8 lines reflecting current compiler outputWarning
Firewall rules blocked me from connecting to one or more addresses (expand for details)
I tried to connect to the following addresses, but was blocked by firewall rules:
https://api.github.com/graphql/usr/bin/gh /usr/bin/gh api graphql -f query=query($owner: String!, $name: String!) { repository(owner: $owner, name: $name) { hasDiscussionsEnabled } } -f owner=github -f name=gh-aw(http block)https://api.github.com/repos/actions-ecosystem/action-add-labels/contents/action.yaml/usr/bin/gh gh api /repos/actions-ecosystem/action-add-labels/contents/action.yaml?ref=18f1af5e3544586314bbe15c0273249c770b2daf --jq .content(http block)https://api.github.com/repos/actions-ecosystem/action-add-labels/contents/action.yml/usr/bin/gh gh api /repos/actions-ecosystem/action-add-labels/contents/action.yml?ref=18f1af5e3544586314bbe15c0273249c770b2daf --jq .content(http block)https://api.github.com/repos/actions/setup-node/git/ref/tags/v6/usr/bin/gh gh api /repos/actions/setup-node/git/ref/tags/v6 --jq .object.sha(http block)https://api.github.com/repos/astral-sh/setup-uv/git/ref/tags/eac588ad8def6316056a12d4907a9d4d84ff7a3b/usr/bin/gh gh api /repos/astral-sh/setup-uv/git/ref/tags/eac588ad8def6316056a12d4907a9d4d84ff7a3b --jq .object.sha(http block)https://api.github.com/repos/github/gh-aw/usr/bin/gh gh api /repos/github/gh-aw --jq .visibility(http block)https://api.github.com/repos/githubnext/agentics/git/ref/tags//usr/bin/gh gh api /repos/githubnext/agentics/git/ref/tags/# --jq .object.sha(http block)If you need me to access, download, or install something from one of these locations, you can either:
📍 Connect Copilot coding agent with Jira, Azure Boards or Linear to delegate work to Copilot in one click without leaving your project management tool.