Skip to content

Fix import-schema default values not resolved in engine/safe-outputs when no explicit with: inputs provided#26472

Merged
pelikhan merged 3 commits intomainfrom
copilot/fix-default-value-resolution
Apr 15, 2026
Merged

Fix import-schema default values not resolved in engine/safe-outputs when no explicit with: inputs provided#26472
pelikhan merged 3 commits intomainfrom
copilot/fix-default-value-resolution

Conversation

Copy link
Copy Markdown
Contributor

Copilot AI commented Apr 15, 2026

${{ github.aw.import-inputs.* }} expressions in engine and safe-outputs frontmatter sections were left as literal strings when the consumer omitted with: — even if the referenced field had a default in the import-schema.

Root cause

In both extractAllImportFields and the BFS nested-import discovery loop, applyImportSchemaDefaults and substituteImportInputsInContent were gated on len(item.inputs) > 0. No explicit inputs → no substitution → unresolved expressions.

Changes

  • pkg/parser/import_field_extractor.go — Always call applyImportSchemaDefaults; if it yields any values (defaults exist), run substitution and propagate to acc.importInputs. Replace all len(item.inputs) > 0/== 0 conditionals with string(content) != rawContent so the "was substitution performed?" check works for both explicit inputs and schema defaults.

  • pkg/parser/import_bfs.go — Same fix in the BFS nested-import discovery phase: drop the len(item.inputs) > 0 guard so defaults are resolved before nested with: expressions are evaluated.

  • pkg/workflow/import_schema_test.goTestImportSchemaDefaultsNoExplicitInputs covering three cases: engine default (max-turns), safe-outputs default (expires), and bare uses: with no with: block.

Example

# shared/common.md
---
import-schema:
  claude-max-turns:
    type: integer
    default: 10000
engine:
  id: claude
  max-turns: ${{ github.aw.import-inputs.claude-max-turns }}
---
# Previously: max-turns remained unresolved
# Now: max-turns correctly resolves to 10000
imports:
  - shared/common.md        # no with: block

Warning

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
    • Triggering command: /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 GO111MODULE 64/pkg/tool/linu--show-toplevel git rev-�� --show-toplevel 64/pkg/tool/linux_amd64/compile /usr/bin/git 5070209/b228/_pkgit DUdE/2oEXO76xEThrev-parse .cfg git (http block)
    • Triggering command: /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 git /usr/bin/git git rev-�� --show-toplevel S6zNIvm/MrPuwORJWOktiA1L7Xjq /usr/bin/git te '../../../**/git git e/git-upload-pac--show-toplevel git (http block)
  • https://api.github.com/orgs/test-owner/actions/secrets
    • Triggering command: /usr/bin/gh gh api /orgs/test-owner/actions/secrets --jq .secrets[].name -json GO111MODULE 64/bin/go GOINSECURE GOMOD GOMODCACHE go env -json GO111MODULE 64/bin/go GOINSECURE GOMOD GOMODCACHE go (http block)
    • Triggering command: /usr/bin/gh gh api /orgs/test-owner/actions/secrets --jq .secrets[].name --show-toplevel git /usr/bin/git user.email test@example.com/opt/hostedtoolcache/node/24.14.1/x64/bin/npm (http block)
  • https://api.github.com/repos/actions/ai-inference/git/ref/tags/v1
    • Triggering command: /usr/bin/gh gh api /repos/actions/ai-inference/git/ref/tags/v1 --jq .object.sha (http block)
    • Triggering command: /usr/bin/gh gh api /repos/actions/ai-inference/git/ref/tags/v1 --jq .object.sha --show-toplevel 64/pkg/tool/linux_amd64/compile /usr/bin/git -json GO111MODULE 64/pkg/tool/linu--show-toplevel /usr/bin/git remo�� -v 64/pkg/tool/linux_amd64/compile /usr/bin/git g_.a emplate/v3@v3.0.rev-parse 64/pkg/tool/linu--show-toplevel git (http block)
    • Triggering command: /usr/bin/gh gh api /repos/actions/ai-inference/git/ref/tags/v1 --jq .object.sha --get-regexp ^remote\..*\.gh-resolved$ /usr/bin/git --show-toplevel git tions/setup/js/n--show-toplevel git rev-�� --show-toplevel git /usr/bin/git 4267101563/.githgit infocmp /usr/bin/git git (http block)
  • https://api.github.com/repos/actions/checkout/git/ref/tags/v3
    • Triggering command: /usr/bin/gh gh api /repos/actions/checkout/git/ref/tags/v3 --jq .object.sha --show-toplevel go ache/node/24.14.1/x64/bin/node -json GO111MODULE 64/bin/go ache/node/24.14.1/x64/bin/node 1427�� /tmp/gh-aw-test-runs/20260415-162545-33112/test-1015948895 config /usr/bin/git remote.origin.urgit GO111MODULE 64/bin/go git (http block)
    • Triggering command: /usr/bin/gh gh api /repos/actions/checkout/git/ref/tags/v3 --jq .object.sha SameOutput2871422180/001/stability-test.md Test User /usr/bin/gh h ../../../.pretgit git /usr/bin/git gh api /repos/github/gh-aw/git/ref/tags/v2.0.0 --jq /usr/bin/git w/js/**/*.json' git git /usr/bin/find git (http block)
  • https://api.github.com/repos/actions/checkout/git/ref/tags/v5
    • Triggering command: /usr/bin/gh gh api /repos/actions/checkout/git/ref/tags/v5 --jq .object.sha 4046183972 Y9sJvruy0 ache/go/1.25.8/x64/pkg/tool/linux_amd64/compile GOINSECURE GOMOD GOMODCACHE ache/go/1.25.8/x64/pkg/tool/linux_amd64/compile env ortcfg GO111MODULE ache/go/1.25.8/x64/pkg/tool/linux_amd64/compile GOINSECURE fips140/sha512 GOMODCACHE ache/go/1.25.8/x64/pkg/tool/linux_amd64/compile (http block)
    • Triggering command: /usr/bin/gh gh api /repos/actions/checkout/git/ref/tags/v5 --jq .object.sha --show-toplevel 64/pkg/tool/linuorigin /usr/bin/git ut2112598861/001git h00yucQ7c 64/pkg/tool/linu--show-toplevel git rev-�� it/ref/tags/v4 64/pkg/tool/linuTest User /usr/bin/git g_.a RR0X2oXnN 64/pkg/tool/linu--show-toplevel git (http block)
    • Triggering command: /usr/bin/gh gh api /repos/actions/checkout/git/ref/tags/v5 --jq .object.sha --show-toplevel /opt/hostedtoolcache/go/1.25.8/x64/pkg/tool/linuremote.origin.url /usr/bin/git runs/20260415-16git -trimpath /opt/hostedtoolc--show-toplevel git rev-�� --show-toplevel /opt/hostedtoolcache/go/1.25.8/x64/pkg/tool/linux_amd64/vet otOrdering2074428669/001/go/1.25.0/x64/bin/go runs/20260415-16git -buildtags t git (http block)
  • https://api.github.com/repos/actions/github-script/git/ref/tags/v8
    • Triggering command: /usr/bin/gh gh api /repos/actions/github-script/git/ref/tags/v8 --jq .object.sha --show-toplevel ache/go/1.25.8/x64/pkg/tool/linuremote.origin.url /usr/bin/git 5070209/b040/_pkgit om/segmentio/asminit 64/pkg/tool/linux_amd64/compile git rev-�� --show-toplevel 64/pkg/tool/linux_amd64/compile /usr/bin/git g_.a PSUd/9pOIPBuLYzKrev-parse ache/go/1.25.8/x--show-toplevel git (http block)
    • Triggering command: /usr/bin/gh gh api /repos/actions/github-script/git/ref/tags/v8 --jq .object.sha --show-toplevel git /usr/bin/git DefaultBranchFrogit DefaultBranchFroinit cal/bin/sh git rev-�� --show-toplevel git /usr/bin/git tmatter-with-nesgit git es/.bin/node git (http block)
  • https://api.github.com/repos/actions/github-script/git/ref/tags/v9
    • Triggering command: /usr/bin/gh gh api /repos/actions/github-script/git/ref/tags/v9 --jq .object.sha go1.25.8 -c=4 -nolocalimports -importcfg /tmp/go-build3485070209/b254/importcfg -pack /home/REDACTED/go/pkg/mod/golang.org/x/mod@v0.35.0/semver/semver.go env -json GO111MODULE 64/bin/go GOINSECURE GOMOD GOMODCACHE go (http block)
    • Triggering command: /usr/bin/gh gh api /repos/actions/github-script/git/ref/tags/v9 --jq .object.sha -json GO111MODULE 64/bin/go GOINSECURE GOMOD GOMODCACHE go env -json /unsafebytes/unsgithub.com/github/gh-aw/pkg/repoutil x_amd64/compile GOINSECURE GOMOD GOMODCACHE x_amd64/compile (http block)
    • Triggering command: /usr/bin/gh gh api /repos/actions/github-script/git/ref/tags/v9 --jq .object.sha 01 GO111MODULE 64/bin/go GOINSECURE GOMOD GOMODCACHE go env -json GO111MODULE x_amd64/compile GOINSECURE GOMOD GOMODCACHE x_amd64/compile (http block)
  • https://api.github.com/repos/actions/setup-go/git/ref/tags/v4
    • Triggering command: /usr/bin/gh gh api /repos/actions/setup-go/git/ref/tags/v4 --jq .object.sha --get remote.origin.url /usr/bin/git ub/workflows GO111MODULE x_amd64/vet git rev-�� --show-toplevel x_amd64/vet /usr/bin/git -json GO111MODULE 64/pkg/tool/linu--show-toplevel git (http block)
    • Triggering command: /usr/bin/gh gh api /repos/actions/setup-go/git/ref/tags/v4 --jq .object.sha user.name Test User 8157522/b358/vet.cfg status git x_amd64/vet gh run list --json /tmp/go-build4148157522/b347/parser.test --workflow nonexistent-workrev-parse --limit /tmp/go-build4148157522/b347/parser.test (http block)
  • https://api.github.com/repos/actions/setup-node/git/ref/tags/v4
    • Triggering command: /usr/bin/gh gh api /repos/actions/setup-node/git/ref/tags/v4 --jq .object.sha remove origin /usr/bin/git -json GO111MODULE x_amd64/vet git rev-�� --git-dir x_amd64/vet /usr/bin/git y-test.md GO111MODULE 64/pkg/tool/linu--show-toplevel git (http block)
    • Triggering command: /usr/bin/gh gh api /repos/actions/setup-node/git/ref/tags/v4 --jq .object.sha ry=1 git 8157522/b347/_pkg_.a HEAD git x_amd64/vet /usr/bin/git conf�� --get-regexp ^remote\..*\.gh-resolved$ /opt/hostedtoolcache/go/1.25.8/x64/pkg/tool/linux_amd64/link --show-toplevel git 86_64/node /opt/hostedtoolcache/go/1.25.8/x64/pkg/tool/linux_amd64/link (http block)
  • https://api.github.com/repos/actions/upload-artifact/git/ref/tags/v4
    • Triggering command: /usr/bin/gh gh api /repos/actions/upload-artifact/git/ref/tags/v4 --jq .object.sha /tmp/go-build3482020402/b397/_pkg_.a -trimpath /opt/hostedtoolcache/go/1.25.8/x64/pkg/tool/linux_amd64/vet -p main -lang=go1.25 /opt/hostedtoolcache/go/1.25.8/x64/pkg/tool/linux_amd64/vet -ato�� -bool (http block)
    • Triggering command: /usr/bin/gh gh api /repos/actions/upload-artifact/git/ref/tags/v4 --jq .object.sha /tmp/gh-aw-add-gitattributes-test2928018871/.github/workflows l /usr/bin/git ignore-path ../.git git /usr/bin/git git -C /tmp/gh-aw-test-runs/20260415-162804-38894/test-2630478711/.github/workflows t /usr/bin/git remote.origin.urgit .go /usr/bin/git git (http block)
  • https://api.github.com/repos/actions/upload-artifact/git/ref/tags/v7
    • Triggering command: /usr/bin/gh gh api /repos/actions/upload-artifact/git/ref/tags/v7 --jq .object.sha 5070209/b091/_pkg_.a rg/x/text@v0.36.0/internal/number/common.go ache/go/1.25.8/x64/pkg/tool/linux_amd64/compile GOINSECURE (http block)
    • Triggering command: /usr/bin/gh gh api /repos/actions/upload-artifact/git/ref/tags/v7 --jq .object.sha Onlymin-integrity_with_repos=public_2751893179/0-test.timeout=10m0s -QbQ/h0mDcb4RKnBUHEwN-QbQ 1/x64/bin/node GOINSECURE GOMOD GOMODCACHE 2020402/b070/gh-aw.test t-ha�� orts509274092/001/main.md PYcw/6Lor4vYXlZ7BBDxPPYcw (http block)
    • Triggering command: /usr/bin/gh gh api /repos/actions/upload-artifact/git/ref/tags/v7 --jq .object.sha ExpressionCompiledOutput3223056336/001 r73k/ZR15bOYtzO_sNGC5r73k .cfg GOINSECURE GOMOD GOMODCACHE /opt/hostedtoolcache/go/1.25.8/x64/pkg/tool/linux_amd64/compile -o itattributes-test1704430187/.github/workflows 1tRE/zlLpwqk7lm3kTMme1tRE ache/node/24.14.1/x64/bin/node -p internal/godebugrev-parse -lang=go1.25 /opt/hostedtoolcache/go/1.25.8/x64/pkg/tool/linuInitial commit (http block)
  • https://api.github.com/repos/github/gh-aw-actions/git/ref/tags/v0.1.2
    • Triggering command: /usr/bin/gh gh api /repos/github/gh-aw-actions/git/ref/tags/v0.1.2 --jq .object.sha /tmp/gh-aw-test-runs/20260415-162545-33112/test-3574021174 rev-parse /usr/bin/git @{u} GO111MODULE x_amd64/vet git conf�� user.name Test User 2020402/b451/vet.cfg -json o 64/pkg/tool/linu--show-toplevel git (http block)
    • Triggering command: /usr/bin/gh gh api /repos/github/gh-aw-actions/git/ref/tags/v0.1.2 --jq .object.sha /usr/bin/git git /usr/bin/git . git /usr/bin/git /usr/bin/git remo�� -v git /opt/hostedtoolcache/go/1.25.8/x64/pkg/tool/linux_amd64/asm --show-toplevel git tions/setup/node--show-toplevel /opt/hostedtoolcache/go/1.25.8/x64/pkg/tool/linux_amd64/asm (http block)
  • https://api.github.com/repos/github/gh-aw-actions/git/ref/tags/v1.0.0
    • Triggering command: /usr/bin/gh gh api /repos/github/gh-aw-actions/git/ref/tags/v1.0.0 --jq .object.sha se 2020402/b114/vet.cfg /opt/hostedtoolcache/node/24.14.1/x64/bin/node go1.25.8 -c=4 -nolocalimports node /tmp�� /tmp/TestHashConsistency_GoAndJavaScript605420483/001/test-empty-frontmatter.md l /opt/hostedtoolcache/go/1.25.8/x64/pkg/tool/linux_amd64/vet -json GO111MODULE 64/bin/go /opt/hostedtoolcache/go/1.25.8/x64/pkg/tool/linux_amd64/vet (http block)
    • Triggering command: /usr/bin/gh gh api /repos/github/gh-aw-actions/git/ref/tags/v1.0.0 --jq .object.sha git-receive-pack '/tmp/TestParseDefaultBranchFromLsRemoteWithRealGitmain_branch3518647489/001' (http block)
  • https://api.github.com/repos/github/gh-aw-actions/git/ref/tags/v1.2.3
    • Triggering command: /usr/bin/gh gh api /repos/github/gh-aw-actions/git/ref/tags/v1.2.3 --jq .object.sha se 2020402/b115/vet.cfg /opt/hostedtoolcache/go/1.25.8/x64/pkg/tool/linux_amd64/vet -goversion go1.25.8 -c=4 /opt/hostedtoolcache/go/1.25.8/x64/pkg/tool/linux_amd64/vet -ato�� -bool -buildtags om/testorg/testrepo.git -errorsas -ifaceassert -nilfunc git (http block)
    • Triggering command: /usr/bin/gh gh api /repos/github/gh-aw-actions/git/ref/tags/v1.2.3 --jq .object.sha run --auto /usr/bin/git --detach git /usr/bin/git git rev-�� runs/20260415-162804-38894/test-350578059 git /usr/bin/gh ath ../../../.prgit git /usr/bin/infocmp--show-toplevel gh (http block)
  • https://api.github.com/repos/github/gh-aw/actions/runs/1/artifacts
    • Triggering command: /usr/bin/gh gh api --paginate repos/{owner}/{repo}/actions/runs/1/artifacts --jq .artifacts[].name _56Gjvce9 64/pkg/tool/linux_amd64/compile GOINSECURE GOMOD GOMODCACHE 64/pkg/tool/linux_amd64/compile env 67021434/001 dq87ptaK6 64/pkg/tool/linux_amd64/link GOINSECURE GOMOD GOMODCACHE 64/pkg/tool/linux_amd64/link (http block)
    • Triggering command: /usr/bin/gh gh run download 1 --dir test-logs/run-1 ri/jsonschema/v6@v6.0.2/kind/kin-nolocalimports 1e831674133adbfc7e696fac28d1bf68-importcfg GOINSECURE o8601 GOMODCACHE 64/pkg/tool/linux_amd64/compile env 376/001/stability-test.md GO111MODULE ache/go/1.25.8/x64/pkg/tool/linux_amd64/compile GOINSECURE chema/v6 GOMODCACHE ache/go/1.25.8/x64/pkg/tool/linuremote.origin.url (http block)
    • Triggering command: /usr/bin/gh gh api --paginate repos/{owner}/{repo}/actions/runs/1/artifacts --jq .artifacts[].name git h --show-toplevel 64/pkg/tool/linuinit /usr/bin/git git rev-�� 26582358/.github/workflows git /usr/bin/git --show-toplevel ache/go/1.25.8/xremote (http block)
  • https://api.github.com/repos/github/gh-aw/actions/runs/12345/artifacts
    • Triggering command: /usr/bin/gh gh api --paginate repos/{owner}/{repo}/actions/runs/12345/artifacts --jq .artifacts[].name GO111MODULE 64/pkg/tool/linux_amd64/compile GOINSECURE GOMOD GOMODCACHE 64/pkg/tool/linumyorg env mpiledOutput613465879/001 hOYFQ3cxW util.test GOINSECURE a20poly1305 GOMODCACHE util.test (http block)
    • Triggering command: /usr/bin/gh gh run download 12345 --dir test-logs/run-12345 GO111MODULE 64/pkg/tool/linux_amd64/compile GOINSECURE GOMOD GOMODCACHE 64/pkg/tool/linux_amd64/compile estl�� g_.a JtV1iahb4 /opt/hostedtoolcache/go/1.25.8/x64/bin/go GOINSECURE GOMOD GOMODCACHE go (http block)
    • Triggering command: /usr/bin/gh gh api --paginate repos/{owner}/{repo}/actions/runs/12345/artifacts --jq .artifacts[].name git tions/setup/js/node_modules/.bin/sh --show-toplevel 64/pkg/tool/linuremote /usr/bin/git git rev-�� */*.ts' '**/*.json' --ignore-path ../../../.prettierignore git de_modules/.bin/sh --show-toplevel ache/go/1.25.8/xrev-parse /usr/bin/git git (http block)
  • https://api.github.com/repos/github/gh-aw/actions/runs/12346/artifacts
    • Triggering command: /usr/bin/gh gh api --paginate repos/{owner}/{repo}/actions/runs/12346/artifacts --jq .artifacts[].name GO111MODULE 64/pkg/tool/linux_amd64/compile GOINSECURE GOMOD GOMODCACHE 64/pkg/tool/linuremote1 env mpiledOutput613465879/001 m0O72i2Jk 64/pkg/tool/linux_amd64/compile GOINSECURE /bidi GOMODCACHE 64/pkg/tool/linux_amd64/compile (http block)
    • Triggering command: /usr/bin/gh gh run download 12346 --dir test-logs/run-12346 GO111MODULE 64/pkg/tool/linux_amd64/compile GOINSECURE GOMOD GOMODCACHE 64/pkg/tool/linux_amd64/compile env g_.a LZuHOSZyr x_amd64/vet GOINSECURE GOMOD GOMODCACHE x_amd64/vet (http block)
    • Triggering command: /usr/bin/gh gh api --paginate repos/{owner}/{repo}/actions/runs/12346/artifacts --jq .artifacts[].name git tions/setup/node_modules/.bin/sh --show-toplevel 64/pkg/tool/linuconfig /usr/bin/git git rev-�� */*.ts' '**/*.json' --ignore-path ../../../.prettierignore git ules/.bin/sh --show-toplevel _nvVoL7iUbVgTMqCrev-parse /usr/bin/git git (http block)
  • https://api.github.com/repos/github/gh-aw/actions/runs/2/artifacts
    • Triggering command: /usr/bin/gh gh api --paginate repos/{owner}/{repo}/actions/runs/2/artifacts --jq .artifacts[].name 0/internal/tag/tag.go 64/pkg/tool/linux_amd64/compile GOINSECURE GOMOD abis dI/VlqCrFGhKv_vuTest User env edOutput3223056336/001 InX8DV7o_ x_amd64/vet GOINSECURE age GOMODCACHE x_amd64/vet (http block)
    • Triggering command: /usr/bin/gh gh run download 2 --dir test-logs/run-2 0/internal/format/format.go 64/pkg/tool/linux_amd64/compile GOINSECURE 5519/field GOMODCACHE 64/pkg/tool/linux_amd64/compile env g_.a EmzJIsP8T 64/pkg/tool/linux_amd64/compile GOINSECURE (http block)
    • Triggering command: /usr/bin/gh gh api --paginate repos/{owner}/{repo}/actions/runs/2/artifacts --jq .artifacts[].name git /usr/bin/git --show-toplevel n2/iZ31c6N3UWAhfrev-parse /usr/bin/git git rev-�� 26582358/.github/workflows git /usr/bin/git --show-toplevel 64/pkg/tool/linurev-parse /usr/bin/git git (http block)
  • https://api.github.com/repos/github/gh-aw/actions/runs/3/artifacts
    • Triggering command: /usr/bin/gh gh api --paginate repos/{owner}/{repo}/actions/runs/3/artifacts --jq .artifacts[].name _3ywvdE5S 64/pkg/tool/linux_amd64/compile GOINSECURE GOMOD GOMODCACHE 64/pkg/tool/linux_amd64/compile env 67021434/001 LamLkoYmy 64/pkg/tool/linux_amd64/link GOINSECURE go-sdk/jsonrpc GOMODCACHE 64/pkg/tool/linux_amd64/link (http block)
    • Triggering command: /usr/bin/gh gh run download 3 --dir test-logs/run-3 0/message/catalog/catalog.go 64/pkg/tool/linux_amd64/compile GOINSECURE exbyte_wasm.o 64/src/internal/--show-toplevel 64/pkg/tool/linux_amd64/compile env g_.a yZeOx_cnJ ache/go/1.25.8/x64/pkg/tool/linux_amd64/compile GOINSECURE t GOMODCACHE ache/go/1.25.8/x64/pkg/tool/linutest@example.com (http block)
    • Triggering command: /usr/bin/gh gh api --paginate repos/{owner}/{repo}/actions/runs/3/artifacts --jq .artifacts[].name gh /usr/bin/git /repos/actions/cgit --jq /usr/bin/git git rev-�� 26582358/.github/workflows git ndor/bin/sh --show-toplevel ache/go/1.25.8/xrev-parse /usr/bin/git git (http block)
  • https://api.github.com/repos/github/gh-aw/actions/runs/4/artifacts
    • Triggering command: /usr/bin/gh gh api --paginate repos/{owner}/{repo}/actions/runs/4/artifacts --jq .artifacts[].name rotocol/go-sdk@v1.5.0/jsonrpc/jsonrpc.go 64/pkg/tool/linux_amd64/compile GOINSECURE GOMOD GOMODCACHE 64/pkg/tool/linux_amd64/compile env g_.a k1Ubnk-ff 64/pkg/tool/linux_amd64/vet GOINSECURE GOMOD GOMODCACHE 64/pkg/tool/linux_amd64/vet (http block)
    • Triggering command: /usr/bin/gh gh run download 4 --dir test-logs/run-4 0/internal/internal.go 64/pkg/tool/linux_amd64/compile GOINSECURE al_wasm.o 64/src/internal/--show-toplevel 64/pkg/tool/linux_amd64/compile env /workflows bBouUBHdz 64/pkg/tool/linux_amd64/vet GOINSECURE g GOMODCACHE 64/pkg/tool/linux_amd64/vet (http block)
    • Triggering command: /usr/bin/gh gh api --paginate repos/{owner}/{repo}/actions/runs/4/artifacts --jq .artifacts[].name infocmp 1/x64/lib/node_modules/npm/node_modules/@npmcli/run-script/lib/node-gyp-bin/sh xterm-color go /usr/bin/git git rev-�� 26582358/.github/workflows git /usr/bin/git --show-toplevel ache/go/1.25.8/xinit /usr/bin/git git (http block)
  • https://api.github.com/repos/github/gh-aw/actions/runs/5/artifacts
    • Triggering command: /usr/bin/gh gh api --paginate repos/{owner}/{repo}/actions/runs/5/artifacts --jq .artifacts[].name 0/internal/language/common.go 64/pkg/tool/linux_amd64/compile GOINSECURE GOMOD GOMODCACHE 64/pkg/tool/linutest@example.com env 376/001/stability-test.md go ache/go/1.25.8/x64/pkg/tool/linux_amd64/compile GOINSECURE GOMOD GOMODCACHE ache/go/1.25.8/xTest User (http block)
    • Triggering command: /usr/bin/gh gh run download 5 --dir test-logs/run-5 0/message/catalog.go x_amd64/compile GOINSECURE 5519 GOMODCACHE x_amd64/compile env g_.a mMLh2czeP 64/pkg/tool/linux_amd64/link GOINSECURE chema/v6/kind GOMODCACHE 64/pkg/tool/linux_amd64/link (http block)
    • Triggering command: /usr/bin/gh gh api --paginate repos/{owner}/{repo}/actions/runs/5/artifacts --jq .artifacts[].name git n-dir/sh --show-toplevel x_amd64/vet /usr/bin/git git rev-�� 26582358/.github/workflows git /usr/bin/git --show-toplevel ache/go/1.25.8/xremote /usr/bin/git git (http block)
  • https://api.github.com/repos/github/gh-aw/actions/workflows
    • Triggering command: /usr/bin/gh gh workflow list --json name,state,path -c=4 -nolocalimports -importcfg /tmp/go-build3482020402/b411/importcfg -pack /home/REDACTED/work/gh-aw/gh-aw/pkg/fileutil/fileutil.go /home/REDACTED/work/gh-aw/gh-aw/pkg/fileutil/tar.go env -json GO111MODULE 64/bin/go GOINSECURE GOMOD GOMODCACHE go (http block)
    • Triggering command: /usr/bin/gh gh run list --json databaseId,number,url,status,conclusion,workflowName,createdAt,startedAt,updatedAt,event,headBranch,headSha,displayTitle --workflow nonexistent-workflow-12345 --limit 100 GOMOD GOMODCACHE x_amd64/compile env -json GO111MODULE x_amd64/compile GOINSECURE GOMOD GOMODCACHE x_amd64/compile (http block)
    • Triggering command: /usr/bin/gh gh run list --json databaseId,number,url,status,conclusion,workflowName,createdAt,startedAt,updatedAt,event,headBranch,headSha,displayTitle --workflow nonexistent-workflow-12345 --limit 6 GOMOD GOMODCACHE 64/pkg/tool/linumyorg env y_with_repos_array_c3709454312/001 GO111MODULE ntdrain.test GOINSECURE GOMOD abis ntdrain.test (http block)
  • https://api.github.com/repos/github/gh-aw/git/ref/tags/v0.47.4
    • Triggering command: /usr/bin/gh gh api /repos/github/gh-aw/git/ref/tags/v0.47.4 --jq .object.sha --show-toplevel 64/pkg/tool/linux_amd64/vet /usr/bin/git 601763452 GO111MODULE k git rev-�� 669/001/go/1.25.0/x64"; export PATH="$(find "/tmp/TestGetNpmBinPathSetup_GorootOrdering207442866git ache/go/1.25.8/x64/pkg/tool/linux_amd64/compile /usr/bin/git 5070209/b198/_pkgit g/typeutil/converev-list .cfg git (http block)
    • Triggering command: /usr/bin/gh gh api /repos/github/gh-aw/git/ref/tags/v0.47.4 --jq .object.sha --show-toplevel 64/pkg/tool/linux_amd64/vet /usr/bin/git --show-toplevel git k/_temp/uv-pytho--show-toplevel git rev-�� 337/001/go/1.25.0/x64"; export PATH="$(find "/tmp/TestGetNpmBinPathSetup_GorootOrdering240284833git git /opt/hostedtoolcache/node/24.14.1/x64/bin/node --show-toplevel git .cfg /opt/hostedtoolc..feature-branch (http block)
  • https://api.github.com/repos/github/gh-aw/git/ref/tags/v1.0.0
    • Triggering command: /usr/bin/gh gh api /repos/github/gh-aw/git/ref/tags/v1.0.0 --jq .object.sha g_.a GO111MODULE 64/pkg/tool/linux_amd64/compile GOINSECURE GOMOD abis 64/pkg/tool/linux_amd64/compile env 1819059591/.github/workflows qrk06zUvD ache/go/1.25.8/x64/pkg/tool/linux_amd64/compile GOINSECURE GOMOD GOMODCACHE ache/go/1.25.8/x64/pkg/tool/linux_amd64/compile (http block)
    • Triggering command: /usr/bin/gh gh api /repos/github/gh-aw/git/ref/tags/v1.0.0 --jq .object.sha --show-toplevel git 1/x64/lib/node_modules/npm/node_modules/@npmcli/run-script/lib/node-gyp-bin/sh --show-toplevel ache/go/1.25.8/xrev-parse /usr/bin/git git rev-�� 1712657760/custom/workflows git ache/go/1.25.8/x64/bin/bash --show-toplevel ache/go/1.25.8/xconfig /usr/bin/git git (http block)
  • https://api.github.com/repos/github/gh-aw/git/ref/tags/v1.2.3
    • Triggering command: /usr/bin/gh gh api /repos/github/gh-aw/git/ref/tags/v1.2.3 --jq .object.sha -json GO111MODULE x_amd64/compile GOINSECURE GOMOD GOMODCACHE x_amd64/compile env -json GO111MODULE x_amd64/compile GOINSECURE GOMOD GOMODCACHE x_amd64/compile (http block)
    • Triggering command: /usr/bin/gh gh api /repos/github/gh-aw/git/ref/tags/v1.2.3 --jq .object.sha w/js/**/*.json' --ignore-path git /usr/bin/git GOMODCACHE x_amd64/compile /usr/bin/git git rev-�� --show-toplevel git sh --show-toplevel sm_wasm.s /usr/bin/git git (http block)
  • https://api.github.com/repos/github/gh-aw/git/ref/tags/v2.0.0
    • Triggering command: /usr/bin/gh gh api /repos/github/gh-aw/git/ref/tags/v2.0.0 --jq .object.sha -json GO111MODULE x_amd64/compile GOINSECURE GOMOD GOMODCACHE x_amd64/compile om_b�� -json GO111MODULE x_amd64/compile GOINSECURE GOMOD GOMODCACHE x_amd64/compile (http block)
    • Triggering command: /usr/bin/gh gh api /repos/github/gh-aw/git/ref/tags/v2.0.0 --jq .object.sha -json GO111MODULE x_amd64/compile GOINSECURE GOMOD GOMODCACHE x_amd64/compile env -json GO111MODULE x_amd64/compile GOINSECURE GOMOD GOMODCACHE x_amd64/compile (http block)
    • Triggering command: /usr/bin/gh gh api /repos/github/gh-aw/git/ref/tags/v2.0.0 --jq .object.sha -json GO111MODULE x_amd64/compile GOINSECURE GOMOD GOMODCACHE x_amd64/compile phen�� -json GO111MODULE x_amd64/compile GOINSECURE GOMOD GOMODCACHE x_amd64/compile (http block)
  • https://api.github.com/repos/github/gh-aw/git/ref/tags/v3.0.0
    • Triggering command: /usr/bin/gh gh api /repos/github/gh-aw/git/ref/tags/v3.0.0 --jq .object.sha -json GO111MODULE x_amd64/compile GOINSECURE GOMOD GOMODCACHE x_amd64/compile env -json GO111MODULE x_amd64/compile GOINSECURE GOMOD GOMODCACHE x_amd64/compile (http block)
    • Triggering command: /usr/bin/gh gh api /repos/github/gh-aw/git/ref/tags/v3.0.0 --jq .object.sha w/js/**/*.json' --ignore-path git /tmp/TestGetNpmBinPathSetup_GorootOrdering2074428669/001/go/1.25.0/x64/bin/go add remote2 /usr/bin/git go vers�� x_amd64/compile git /usr/bin/git --show-toplevel WKKjjpb/pnOHWmOWconfig /usr/bin/infocmpuser.email git (http block)
  • https://api.github.com/repos/nonexistent/action/git/ref/tags/v999.999.999
    • Triggering command: /usr/bin/gh gh api /repos/nonexistent/action/git/ref/tags/v999.999.999 --jq .object.sha y_with_explicit_repo1094803746/001 1y3cTijPK 64/pkg/tool/linux_amd64/vet GOINSECURE obyte GOMODCACHE 64/pkg/tool/linux_amd64/vet env ortcfg 57OuoO-7M k GOINSECURE GOMOD GOMODCACHE ache/go/1.25.8/x64/pkg/tool/linuconfig (http block)
    • Triggering command: /usr/bin/gh gh api /repos/nonexistent/action/git/ref/tags/v999.999.999 --jq .object.sha y_only_defaults_repo2083358893/001 git tions/node_modules/.bin/sh --show-toplevel b3nZKMZXKvKXw7L-init /usr/bin/git git rev-�� *.json' '!../../../pkg/workflow/js/**/*.json' ---errorsas git /usr/bin/git --show-toplevel ache/go/1.25.8/xsecret /usr/bin/git git (http block)
  • https://api.github.com/repos/nonexistent/repo/actions/runs/12345
    • Triggering command: /usr/bin/gh gh run view 12345 --repo nonexistent/repo --json status,conclusion GOINSECURE _test.o 64/src/internal/user.name x_amd64/vet env -json 3Js0Ri3Dw ache/go/1.25.8/x64/pkg/tool/linux_amd64/compile GOINSECURE GOMOD GOMODCACHE ache/go/1.25.8/x64/pkg/tool/linux_amd64/compile (http block)
    • Triggering command: /usr/bin/gh gh run view 12345 --repo nonexistent/repo --json status,conclusion --show-toplevel ache/go/1.25.8/xrev-parse (http block)
  • https://api.github.com/repos/owner/repo/actions/workflows
    • Triggering command: /usr/bin/gh gh workflow list --json name,state,path --repo owner/repo 64/bin/go GOINSECURE GOMOD GOMODCACHE go env -json .go 64/bin/go GOINSECURE GOMOD GOMODCACHE go (http block)
    • Triggering command: /usr/bin/gh gh workflow list --json name,state,path --repo owner/repo 64/bin/go GOINSECURE GOMOD GOMODCACHE go env -json GO111MODULE 64/bin/go GOINSECURE GOMOD GOMODCACHE go (http block)
    • Triggering command: /usr/bin/gh gh workflow list --json name,state,path --repo owner/repo de GOMODCACHE x_amd64/asm /usr/bin/git git /pre�� --show-toplevel git /opt/hostedtoolcache/uv/0.11.6/x86_64/node master x_amd64/compile /usr/bin/git node (http block)
  • https://api.github.com/repos/owner/repo/contents/file.md
    • Triggering command: /tmp/go-build3482020402/b397/cli.test /tmp/go-build3482020402/b397/cli.test -test.testlogfile=/tmp/go-build3482020402/b397/testlog.txt -test.paniconexit0 -test.v=true -test.parallel=4 -test.timeout=10m0s -test.run=^Test -test.short=true -nolocalimports -importcfg /tmp/go-build3485070209/b213/importcfg -pack env -json GO111MODULE 64/bin/go GOINSECURE GOMOD GOMODCACHE go (http block)
    • Triggering command: /tmp/go-build3498012814/b397/cli.test /tmp/go-build3498012814/b397/cli.test -test.testlogfile=/tmp/go-build3498012814/b397/testlog.txt -test.paniconexit0 -test.v=true -test.parallel=4 -test.timeout=10m0s -test.run=^Test -test.short=true xterm-color /bin/sh /usr/bin/git git rev-�� --show-toplevel git /usr/bin/git --get remote.origin.ur-c /usr/bin/git git (http block)
  • https://api.github.com/repos/test-owner/test-repo/actions/secrets
    • Triggering command: /usr/bin/gh gh api /repos/test-owner/test-repo/actions/secrets --jq .secrets[].name -json GO111MODULE 64/bin/go GOINSECURE GOMOD GOMODCACHE go env -json GO111MODULE 64/bin/go GOINSECURE GOMOD e_wasm.s go (http block)
    • Triggering command: /usr/bin/gh gh api /repos/test-owner/test-repo/actions/secrets --jq .secrets[].name --show-toplevel git e/git GOMODCACHE x_amd64/asm /usr/bin/git e/git rev-�� h ../../../.prettierignore git /home/REDACTED/.local/bin/node GOMODCACHE epo}/actions/run-atomic /usr/bin/git node (http block)

If you need me to access, download, or install something from one of these locations, you can either:

… sections

When no explicit with: inputs were provided to a shared importable workflow,
${{ github.aw.import-inputs.* }} expressions in engine and safe-outputs
frontmatter fields were not resolved to their import-schema default values.

Root cause: applyImportSchemaDefaults and substituteImportInputsInContent
were only called when len(item.inputs) > 0 in both extractAllImportFields
and the BFS nested-import discovery phase.

Fix: Always apply import-schema defaults regardless of whether explicit inputs
were provided. If defaults exist, perform substitution and update all downstream
conditions to use content-modification checks instead of input-count checks.

Adds TestImportSchemaDefaultsNoExplicitInputs covering engine section defaults,
safe-outputs section defaults, and uses/with syntax with no with block.

Agent-Logs-Url: https://github.com/github/gh-aw/sessions/4d1ffef5-9661-481c-9132-ce6071a2c82f

Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
Copilot AI changed the title [WIP] Fix default value in ${{ github.aw.import-inputs.* }} expressions Fix import-schema default values not resolved in engine/safe-outputs when no explicit with: inputs provided Apr 15, 2026
Copilot AI requested a review from pelikhan April 15, 2026 16:36
@pelikhan pelikhan marked this pull request as ready for review April 15, 2026 16:45
Copilot AI review requested due to automatic review settings April 15, 2026 16:45
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

Fixes a bug where ${{ github.aw.import-inputs.* }} in imported workflows’ engine and safe-outputs frontmatter stayed unresolved when the importing workflow omitted a with: block, even if the import-schema provided default values.

Changes:

  • Always apply import-schema defaults during import processing and run content substitution when defaults (or explicit inputs) exist.
  • Update nested-import (BFS) discovery to resolve defaults before evaluating nested with: expressions.
  • Add a workflow-level test covering defaults resolution with no explicit with:.
Show a summary per file
File Description
pkg/parser/import_field_extractor.go Applies schema defaults and substitution even without explicit with: inputs; changes “was substituted?” checks to rely on content diffs.
pkg/parser/import_bfs.go Ensures defaults are applied during BFS nested-import discovery so nested with: values can resolve.
pkg/workflow/import_schema_test.go Adds a regression test validating defaults resolve in engine, safe-outputs, and uses:-without-with: cases.

Copilot's findings

Tip

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

Comments suppressed due to low confidence (3)

pkg/parser/import_field_extractor.go:107

  • string(content) is converted repeatedly for equality checks, which allocates a new string each time from the []byte. Consider caching origContent := string(content) once and using a wasSubstituted := rawContent != origContent flag for the subsequent branches to avoid repeated allocations on large imports.
	var toolsContent string
	if string(content) != rawContent {
		var err error

pkg/workflow/import_schema_test.go:786

  • These assertions search for a generic substring ("3d") anywhere in the lock file, which can produce false positives if some other part of the output contains the same text. Consider asserting on a more specific rendered fragment (like expires:) or parsing the compiled lock YAML and asserting the exact field path.
		if strings.Contains(lockContent, "github.aw.import-inputs.expires") {
			t.Error("Lock file should not contain unresolved github.aw.import-inputs.expires expression")
		}
		if !strings.Contains(lockContent, "3d") {
			t.Errorf("Lock file should contain the default expires value '3d'; got:\n%s", lockContent)

pkg/workflow/import_schema_test.go:842

  • These assertions search for a generic substring ("claude-sonnet-4-5") anywhere in the lock file, which can produce false positives if unrelated output contains the same text. Consider asserting on a more specific rendered fragment (like model:) or parsing the compiled lock YAML and asserting the exact field path.
		if strings.Contains(lockContent, "github.aw.import-inputs.model") {
			t.Error("Lock file should not contain unresolved github.aw.import-inputs.model expression")
		}
		if !strings.Contains(lockContent, "claude-sonnet-4-5") {
			t.Errorf("Lock file should contain the default model value 'claude-sonnet-4-5'; got:\n%s", lockContent)
  • Files reviewed: 3/3 changed files
  • Comments generated: 3

Comment thread pkg/parser/import_field_extractor.go Outdated
Comment on lines 91 to 95
rawContent := string(content)
if len(item.inputs) > 0 {
// Apply import-schema defaults for any optional parameters not supplied by the caller,
// so that ${{ github.aw.import-inputs.<key> }} expressions for defaulted parameters
// are replaced with their declared default values rather than left as literal strings.
inputsWithDefaults := applyImportSchemaDefaults(rawContent, item.inputs)
// Apply import-schema defaults for any optional parameters not supplied by the caller.
inputsWithDefaults := applyImportSchemaDefaults(rawContent, item.inputs)
if len(inputsWithDefaults) > 0 {
rawContent = substituteImportInputsInContent(rawContent, inputsWithDefaults)
Copy link

Copilot AI Apr 15, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

applyImportSchemaDefaults(rawContent, item.inputs) calls ExtractFrontmatterFromContent internally, but this function later parses frontmatter again (ExtractFrontmatterFromContent(rawContent) at ~168). This adds an unconditional extra YAML parse for every import. Consider parsing frontmatter once up-front, using applyImportSchemaDefaultsFromFrontmatter(parsed.Frontmatter, item.inputs) to compute defaults, and only re-parsing when substitution actually changes the content (also lets you reuse the original parsed frontmatter for schema validation).

This issue also appears on line 105 of the same file.

Copilot uses AI. Check for mistakes.
Comment thread pkg/parser/import_bfs.go Outdated
Comment on lines +312 to +317
inputsWithDefaults := applyImportSchemaDefaultsFromFrontmatter(result.Frontmatter, item.inputs)
substituted := substituteImportInputsInContent(string(content), inputsWithDefaults)
// Re-parse the substituted content so that nested-import discovery sees
// the resolved 'with' values instead of literal expression strings.
if reparse, rerr := ExtractFrontmatterFromContent(substituted); rerr == nil {
result = reparse
if len(inputsWithDefaults) > 0 {
substituted := substituteImportInputsInContent(string(content), inputsWithDefaults)
// Re-parse the substituted content so that nested-import discovery sees
// the resolved 'with' values instead of literal expression strings.
if reparse, rerr := ExtractFrontmatterFromContent(substituted); rerr == nil {
Copy link

Copilot AI Apr 15, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This block reparses the file whenever len(inputsWithDefaults) > 0, even if substituteImportInputsInContent returns the original content (e.g., defaults exist but no ${{ github.aw.import-inputs.* }} expressions are present). To avoid extra YAML parsing in the BFS loop, consider caching string(content) once and only reparsing when substituted != original.

Copilot uses AI. Check for mistakes.
Comment thread pkg/workflow/import_schema_test.go Outdated
Comment on lines +727 to +728
if !strings.Contains(lockContent, "10000") {
t.Errorf("Lock file should contain the default max-turns value 10000; got:\n%s", lockContent)
Copy link

Copilot AI Apr 15, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

These assertions search for very generic substrings (e.g., "10000") anywhere in the lock file, which can produce false positives if unrelated content contains the same value. Consider asserting on a more specific rendered fragment (like max-turns:) or parsing the compiled lock YAML and asserting the exact field path.

This issue also appears in the following locations of the same file:

  • line 782
  • line 838
Suggested change
if !strings.Contains(lockContent, "10000") {
t.Errorf("Lock file should contain the default max-turns value 10000; got:\n%s", lockContent)
if !strings.Contains(lockContent, "max-turns: 10000") {
t.Errorf("Lock file should contain the rendered max-turns field with default value 10000; got:\n%s", lockContent)

Copilot uses AI. Check for mistakes.
@pelikhan
Copy link
Copy Markdown
Collaborator

@copilot review all comments

…when unchanged, specific test assertions

- Replace applyImportSchemaDefaults (which re-parsed internally) with an
  up-front parse + applyImportSchemaDefaultsFromFrontmatter to eliminate
  the redundant YAML parse in extractAllImportFields. Remove now-unused
  applyImportSchemaDefaults. Add wasSubstituted bool to avoid repeated
  string(content) != rawContent comparisons and extra re-parses for
  schema validation.

- In import_bfs.go only reparse frontmatter when substituteImportInputsInContent
  actually changed the content (substituted != origContent), avoiding wasted
  YAML parses when defaults exist but no expressions are present.

- Replace generic substring assertions in TestImportSchemaDefaultsNoExplicitInputs
  with field-specific patterns (GH_AW_MAX_TURNS: 10000, "expires":72,
  ANTHROPIC_MODEL: claude-sonnet-4-5) that won't false-positive on unrelated
  content in the lock file.

Agent-Logs-Url: https://github.com/github/gh-aw/sessions/4d735341-f013-4324-9e89-a7b67a82d9fd

Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
Copy link
Copy Markdown
Contributor Author

Copilot AI commented Apr 15, 2026

@copilot review all comments

Addressed all three reviewer suggestions in f727a13:

  1. Double YAML parse (import_field_extractor.go): Parse frontmatter once up-front, use applyImportSchemaDefaultsFromFrontmatter directly (removed now-unused applyImportSchemaDefaults). Added wasSubstituted bool to avoid repeated string(content) != rawContent comparisons and eliminated the separate origParsed re-parse for schema validation.

  2. BFS reparse guard (import_bfs.go): Now only reparses when substituted != origContent — skips the YAML parse when defaults exist but no ${{ }} expressions are present.

  3. Test assertion specificity (import_schema_test.go): Replaced generic substrings ("10000", "3d", "claude-sonnet-4-5") with field-specific patterns (GH_AW_MAX_TURNS: 10000, "expires":72, ANTHROPIC_MODEL: claude-sonnet-4-5).

Warning

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
    • Triggering command: /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 GO111MODULE 64/bin/go git rev-�� --show-toplevel go /usr/bin/git -json GO111MODULE 64/bin/go git (http block)
  • https://api.github.com/repos/actions/ai-inference/git/ref/tags/v1
    • Triggering command: /usr/bin/gh gh api /repos/actions/ai-inference/git/ref/tags/v1 --jq .object.sha (http block)
    • Triggering command: /usr/bin/gh gh api /repos/actions/ai-inference/git/ref/tags/v1 --jq .object.sha --noprofile GOPROXY /opt/hostedtoolcache/node/24.14.1/x64/bin/node GOSUMDB GOWORK 64/bin/go /opt/hostedtoolcache/node/24.14.1/x64/bin/node /tmp�� steps.test.outputs.result go /usr/bin/git -json GO111MODULE 64/bin/go git (http block)
  • https://api.github.com/repos/actions/checkout/git/ref/tags/v3
    • Triggering command: /usr/bin/gh gh api /repos/actions/checkout/git/ref/tags/v3 --jq .object.sha SameOutput3009824828/001/stability-test.md GO111MODULE ache/go/1.25.8/x64/bin/go GOINSECURE GOMOD GOMODCACHE go env -json GO111MODULE ache/go/1.25.8/x64/bin/go GOINSECURE GOMOD GOMODCACHE go (http block)
  • https://api.github.com/repos/actions/checkout/git/ref/tags/v5
    • Triggering command: /usr/bin/gh gh api /repos/actions/checkout/git/ref/tags/v5 --jq .object.sha --check **/*.cjs 64/bin/go **/*.json --ignore-path ../../../.pretti/home/REDACTED/work/gh-aw/gh-aw/.github/workflows/approach-validator.md go env -json GO111MODULE 64/bin/go GOINSECURE GOMOD GOMODCACHE go (http block)
    • Triggering command: /usr/bin/gh gh api /repos/actions/checkout/git/ref/tags/v5 --jq .object.sha --show-toplevel go /usr/bin/git -json GO111MODULE 64/bin/go git rev-�� --show-toplevel node /usr/bin/git --check **/*.cjs 64/bin/go git (http block)
    • Triggering command: /usr/bin/gh gh api /repos/actions/checkout/git/ref/tags/v5 --jq .object.sha --show-toplevel go /usr/bin/git approach-validatgit GO111MODULE 64/bin/go git rev-�� --show-toplevel go otOrdering3442810766/001/go/1.25.0/x64/bin/go -json GO111MODULE 64/bin/go git (http block)
  • https://api.github.com/repos/actions/github-script/git/ref/tags/v8
    • Triggering command: /usr/bin/gh gh api /repos/actions/github-script/git/ref/tags/v8 --jq .object.sha --show-toplevel node /usr/bin/git --check scripts/**/*.js 64/bin/go git rev-�� --show-toplevel go /usr/bin/git ned-imports-enabgit GO111MODULE 64/bin/go git (http block)
  • https://api.github.com/repos/actions/github-script/git/ref/tags/v9
    • Triggering command: /usr/bin/gh gh api /repos/actions/github-script/git/ref/tags/v9 --jq .object.sha ets.TOKEN }T GO111MODULE /opt/hostedtoolcache/go/1.25.8/x64/bin/go GOINSECURE GOMOD GOMODCACHE go env -json GO111MODULE /opt/hostedtoolcache/go/1.25.8/x64/pkg/tool/linux_amd64/cgo GOINSECURE GOMOD GOMODCACHE /opt/hostedtoolcache/go/1.25.8/x64/pkg/tool/linux_amd64/cgo (http block)
    • Triggering command: /usr/bin/gh gh api /repos/actions/github-script/git/ref/tags/v9 --jq .object.sha -json GO111MODULE /opt/hostedtoolcache/go/1.25.8/x64/bin/go GOINSECURE GOMOD GOMODCACHE go env -json GO111MODULE /opt/hostedtoolcache/node/24.14.1/x64/bin/node GOINSECURE GOMOD GOMODCACHE node (http block)
    • Triggering command: /usr/bin/gh gh api /repos/actions/github-script/git/ref/tags/v9 --jq .object.sha --show-toplevel go /usr/bin/git -json GO111MODULE 64/bin/go git rev-�� --show-toplevel go /usr/bin/git 1/test2.md GO111MODULE 64/bin/go git (http block)
  • https://api.github.com/repos/actions/setup-go/git/ref/tags/v4
    • Triggering command: /usr/bin/gh gh api /repos/actions/setup-go/git/ref/tags/v4 --jq .object.sha -json GO111MODULE /opt/hostedtoolcache/go/1.25.8/x64/bin/go GOINSECURE GOMOD GOMODCACHE go env -json GO111MODULE /opt/hostedtoolcache/node/24.14.1/x64/bin/node GOINSECURE GOMOD GOMODCACHE node (http block)
  • https://api.github.com/repos/actions/setup-node/git/ref/tags/v4
    • Triggering command: /usr/bin/gh gh api /repos/actions/setup-node/git/ref/tags/v4 --jq .object.sha -json GO111MODULE /opt/hostedtoolcache/go/1.25.8/x64/bin/go GOINSECURE GOMOD GOMODCACHE go env -json GO111MODULE /opt/hostedtoolcache/node/24.14.1/x64/bin/node GOINSECURE GOMOD GOMODCACHE node (http block)
  • https://api.github.com/repos/actions/upload-artifact/git/ref/tags/v4
    • Triggering command: /usr/bin/gh gh api /repos/actions/upload-artifact/git/ref/tags/v4 --jq .object.sha -json GO111MODULE ache/go/1.25.8/x64/bin/go GOINSECURE GOMOD GOMODCACHE go env -json GO111MODULE 1/x64/bin/node GOINSECURE GOMOD GOMODCACHE 1/x64/bin/node (http block)
  • https://api.github.com/repos/actions/upload-artifact/git/ref/tags/v7
    • Triggering command: /usr/bin/gh gh api /repos/actions/upload-artifact/git/ref/tags/v7 --jq .object.sha -json GO111MODULE 64/bin/go GOINSECURE GOMOD GOMODCACHE go env -json GO111MODULE 64/bin/go GOINSECURE GOMOD GOMODCACHE go (http block)
    • Triggering command: /usr/bin/gh gh api /repos/actions/upload-artifact/git/ref/tags/v7 --jq .object.sha -json GO111MODULE 64/bin/go GOINSECURE GOMOD GOMODCACHE go env 97/001/test-frontmatter-with-env-template-expressions.md GO111MODULE 64/bin/go GOINSECURE GOMOD GOMODCACHE go (http block)
    • Triggering command: /usr/bin/gh gh api /repos/actions/upload-artifact/git/ref/tags/v7 --jq .object.sha -json GO111MODULE 64/bin/go GOINSECURE GOMOD GOMODCACHE go env architecture-guardian.md GO111MODULE 64/bin/go GOINSECURE GOMOD GOMODCACHE go (http block)
  • https://api.github.com/repos/github/gh-aw-actions/git/ref/tags/v0.1.2
    • Triggering command: /usr/bin/gh gh api /repos/github/gh-aw-actions/git/ref/tags/v0.1.2 --jq .object.sha 699209/b359/workflow.test GO111MODULE 699209/b359/importcfg.link GOINSECURE GOMOD GOMODCACHE PRcRMxzLumJi6/RG5r7GPsDOi9TUk84EhW/T5XCFBHsuxrXthaYAzPv/_icc35QPRcRMxzLumJi6 env ry=1 GO111MODULE 699209/b359/_pkg_.a GOINSECURE GOMOD GOMODCACHE /opt/hostedtoolcache/go/1.25.8/x64/pkg/tool/linux_amd64/vet (http block)
  • https://api.github.com/repos/github/gh-aw-actions/git/ref/tags/v1.0.0
    • Triggering command: /usr/bin/gh gh api /repos/github/gh-aw-actions/git/ref/tags/v1.0.0 --jq .object.sha -json GO111MODULE ache/go/1.25.8/x64/bin/go GOINSECURE GOMOD GOMODCACHE go env -json GO111MODULE 1/x64/bin/node GOINSECURE GOMOD GOMODCACHE 1/x64/bin/node (http block)
  • https://api.github.com/repos/github/gh-aw-actions/git/ref/tags/v1.2.3
    • Triggering command: /usr/bin/gh gh api /repos/github/gh-aw-actions/git/ref/tags/v1.2.3 --jq .object.sha -json GO111MODULE n-dir/bash GOINSECURE GOMOD GOMODCACHE go env -json GO111MODULE 1/x64/bin/node GOINSECURE GOMOD GOMODCACHE 1/x64/bin/node (http block)
  • https://api.github.com/repos/github/gh-aw/git/ref/tags/v0.47.4
    • Triggering command: /usr/bin/gh gh api /repos/github/gh-aw/git/ref/tags/v0.47.4 --jq .object.sha --show-toplevel 688649/b397/impoGO111MODULE /usr/bin/git che/go-build/12/git GOPROXY 64/bin/go git rev-�� 766/001/go/1.25.0/x64&#34;; export PATH=&#34;$(find &#34;/tmp/TestGetNpmBinPathSetup_GorootOrdering344281076git /opt/hostedtoolcGOPROXY /usr/bin/git /tmp/go-build676git -trimpath 64/bin/go git (http block)
  • https://api.github.com/repos/github/gh-aw/git/ref/tags/v1.0.0
    • Triggering command: /usr/bin/gh gh api /repos/github/gh-aw/git/ref/tags/v1.0.0 --jq .object.sha Lj7F/7AEBTzwobsNGOINSECURE GO111MODULE 64/bin/go GOINSECURE GOMOD GOMODCACHE 688649/b412/impoGO111MODULE -c k/gh-aw/gh-aw/pkGOINSECURE k/gh-aw/gh-aw/pkGOMOD 64/bin/go iles use Prettienode GOWORK 64/bin/go /opt/hostedtoolcGOPROXY (http block)
  • https://api.github.com/repos/nonexistent/action/git/ref/tags/v999.999.999
    • Triggering command: /usr/bin/gh gh api /repos/nonexistent/action/git/ref/tags/v999.999.999 --jq .object.sha Bx0p/D6BB9xvS_RYGOINSECURE GO111MODULE 64/bin/go GOINSECURE GOMOD GOMODCACHE 688649/b413/impoGO111MODULE -c che/go-build/61/GOINSECURE GOPROXY 64/bin/go GOSUMDB GOWORK 64/bin/go /opt/hostedtoolcGOPROXY (http block)

If you need me to access, download, or install something from one of these locations, you can either:

@pelikhan pelikhan merged commit ae0645c into main Apr 15, 2026
@pelikhan pelikhan deleted the copilot/fix-default-value-resolution branch April 15, 2026 17:58
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.

default value in ${{ github.aw.import-inputs.* }} expressions is not being resolved in shared imports

3 participants