Skip to content

feat: add elseif handler syntax support in template expression rendering (#elseif, #else-if, #else_if variants)#30358

Merged
pelikhan merged 4 commits intomainfrom
copilot/add-elseif-handler-syntax
May 5, 2026
Merged

feat: add elseif handler syntax support in template expression rendering (#elseif, #else-if, #else_if variants)#30358
pelikhan merged 4 commits intomainfrom
copilot/add-elseif-handler-syntax

Conversation

Copy link
Copy Markdown
Contributor

Copilot AI commented May 5, 2026

Summary

Adds support for {{#elseif expr}} (and multiple syntax variants) in template expression rendering, enabling multiple conditional branches in workflow prompts.

Changes

Go compiler (pkg/workflow/)

  • expression_patterns.go: New TemplateElseIfPattern regex matching all 6 elseif syntax variants: {{#elseif}}, {{#else-if}}, {{#else_if}}, {{elseif}}, {{else-if}}, {{else_if}}
  • template.go: wrapExpressionsInTemplateConditionals now wraps elseif expressions in ${{ }} and normalises all variants to the canonical {{#elseif}} form
  • template_validation.go: validateNoPreExpandedExperimentPlaceholders now checks elseif conditions in addition to if conditions for internal __GH_AW_EXPERIMENTS_*__ placeholder misuse

JavaScript runtime (actions/setup/js/)

  • template_branch.cjs (new): Shared selectBranch(ifCondition, body) helper that evaluates the full if / elseif* / else? branch chain using String.split with capturing groups on the elseif pattern
  • interpolate_prompt.cjs and render_template.cjs: Both block and inline passes now delegate to selectBranch instead of the previous two-way {{#else}} split, supporting arbitrarily many {{#elseif}} branches

Tests

  • Go: 10 new elseif wrapping/normalisation cases in template_expression_wrapping_test.go
  • Go: New TestValidateNoPreExpandedExperimentPlaceholders_ElseIf in template_include_validation_test.go
  • JS: 10 new elseif test cases each in interpolate_prompt.test.cjs and render_template.test.cjs

Fuzz tests

  • Go: Extended FuzzWrapExpressionsInTemplateConditionals in template_fuzz_test.go with seed corpus entries for all 6 elseif syntax variants and a property invariant asserting non-canonical elseif forms are fully normalised to {{#elseif}} in the output
  • JS: New fuzz_template_branch_harness.cjs — a JSON stdin/stdout fuzz harness for selectBranch and renderMarkdownTemplate (matching the existing harness pattern)
  • JS: New fuzz_template_branch_harness.test.cjs with 18 seed-corpus cases covering all syntax variants, multi-branch chains, equality conditions, and crash-safety invariants

Syntax variants supported

{{#if cond1}}
  Branch A
{{#elseif cond2}}
  Branch B
{{#else-if cond3}}
  Branch C
{{#else_if cond4}}
  Branch D
{{elseif cond5}}
  Branch E
{{#else}}
  Fallback
{{/if}}

Copilot AI and others added 3 commits May 5, 2026 12:50
Agent-Logs-Url: https://github.com/github/gh-aw/sessions/40bbec61-dc73-4fb0-aa5a-97a5823cd269

Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
- Add TemplateElseIfPattern to expression_patterns.go supporting all
  syntax variants: {{#elseif}}, {{#else-if}}, {{#else_if}}, {{elseif}},
  {{else-if}}, {{else_if}}
- Update wrapExpressionsInTemplateConditionals to wrap and normalise
  elseif expressions to canonical {{#elseif}} form
- Update validateNoPreExpandedExperimentPlaceholders to check elseif
  conditions for internal placeholder misuse
- Add selectBranch helper to interpolate_prompt.cjs and render_template.cjs
  implementing multi-branch evaluation (if / elseif* / else?)
- Replace two-way else split with unified selectBranch in both JS engines
- Export selectBranch from both JS modules
- Add Go tests for elseif wrapping, normalisation, and validation
- Add JS tests for all elseif variants and branch selection logic

Agent-Logs-Url: https://github.com/github/gh-aw/sessions/40bbec61-dc73-4fb0-aa5a-97a5823cd269

Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
Address code review feedback: remove duplication by moving selectBranch
from interpolate_prompt.cjs and render_template.cjs into a single shared
template_branch.cjs module. Both consumers now require the shared module.
Also clarify the wrapTagExpr closure comment in template.go.

Agent-Logs-Url: https://github.com/github/gh-aw/sessions/40bbec61-dc73-4fb0-aa5a-97a5823cd269

Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
Copilot AI requested a review from pelikhan May 5, 2026 13:11
@pelikhan pelikhan marked this pull request as ready for review May 5, 2026 13:23
Copilot AI review requested due to automatic review settings May 5, 2026 13:23
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.

Copilot encountered an error and was unable to review this pull request. You can try again by re-requesting a review.

@pelikhan
Copy link
Copy Markdown
Collaborator

pelikhan commented May 5, 2026

@copilot add tests, fuzz tests

- Extend FuzzWrapExpressionsInTemplateConditionals seed corpus with all 6
  elseif syntax variants and add invariant check that non-canonical elseif
  forms are fully normalised to {{#elseif}} in the output
- Add fuzz_template_branch_harness.cjs JS harness for selectBranch and
  renderMarkdownTemplate with elseif support
- Add fuzz_template_branch_harness.test.cjs with 18 seed-corpus test cases
  covering all elseif syntax variants, multi-branch chains, equality
  conditions, and crash-safety invariants

Agent-Logs-Url: https://github.com/github/gh-aw/sessions/fd7aa0eb-74aa-454e-bd7a-7d7eee453d71

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

Copilot AI commented May 5, 2026

@copilot add tests, fuzz tests

Added in commit 424d11e:

Go fuzz test — extended FuzzWrapExpressionsInTemplateConditionals in template_fuzz_test.go with seed corpus entries for all 6 elseif syntax variants ({{#elseif}}, {{#else-if}}, {{#else_if}}, {{elseif}}, {{else-if}}, {{else_if}}), plus a property invariant asserting that no non-canonical elseif form survives in the output.

JavaScript fuzz harness — new fuzz_template_branch_harness.cjs that exposes selectBranch and renderMarkdownTemplate with a stdin/stdout JSON protocol (matching the pattern used by existing harnesses), and fuzz_template_branch_harness.test.cjs with 18 seed-corpus cases covering multi-branch chains, equality conditions, all syntax variants, and crash-safety invariants.

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 gh repo view --json owner,name --jq .owner.login &#43; &#34;/&#34; &#43; .name /home/REDACTED/work/_temp/ghcca-node/node/bin/bash-nilfunc (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 (http block)
    • Triggering command: /usr/bin/gh gh repo view owner/repo --no�� --noprofile (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 h ../../../.pret.prettierignore (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, .object.type] | @tsv /ref/tags/v9 node sv sistency_Inlinedgit scripts/**/*.js /bin/sh git rev-�� --show-toplevel /bin/sh /usr/bin/git licyMinIntegritygh (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, .object.type] | @tsv WorkflowFiles_WithImports391534050/001 origin /usr/bin/git --local pull.rebase cal/bin/bash git rev-�� --show-toplevel git /usr/bin/git &#39;**/*.ts&#39; &#39;**/*.git copilot/add-elserev-parse ache/go/1.25.8/x--show-toplevel /usr/bin/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, .object.type] | @tsv 4650134 actions/setup/js/fuzz_template_branch_harness.test.cjs ache/node/24.14.1/x64/bin/node ./../.prettieriggit (http block)
    • Triggering command: /usr/bin/gh gh api /repos/actions/checkout/git/ref/tags/v5 --jq [.object.sha, .object.type] | @tsv --show-toplevel x_amd64/vet /usr/bin/git b.actor }}, Repogit remote /usr/bin/infocmp--show-toplevel git rev-�� --show-toplevel infocmp /usr/bin/git /ref/tags/v9.0.0git r-test83893460/trev-parse sv git (http block)
    • Triggering command: /usr/bin/gh gh api /repos/actions/checkout/git/ref/tags/v5 --jq [.object.sha, .object.type] | @tsv k/_tool infocmp /usr/bin/infocmp tags/v6 bash sv infocmp -1 xterm-color infocmp /home/REDACTED/.local/bin/node xterm-color bash /usr/bin/infocmp--show-toplevel node (http block)
  • https://api.github.com/repos/actions/checkout/git/ref/tags/v6
    • Triggering command: /usr/bin/gh gh api /repos/actions/checkout/git/ref/tags/v6 --jq [.object.sha, .object.type] | @tsv -bool -buildtags /opt/hostedtoolcache/node/24.14.1/x64/bin/node -errorsas -ifaceassert -nilfunc node /tmp�� /tmp/TestHashStability_SameInputSameOutput3009883017/001/stability-test.md -tests /usr/bin/git (http block)
    • Triggering command: /usr/bin/gh gh api /repos/actions/checkout/git/ref/tags/v6 --jq [.object.sha, .object.type] | @tsv (http block)
    • Triggering command: /usr/bin/gh gh api /repos/actions/checkout/git/ref/tags/v6 --jq [.object.sha, .object.type] | @tsv --get remote.origin.url /usr/bin/infocmp get --global st.cjs infocmp -1 xterm-color git /usr/bin/git json&#39; --ignore-pgit if-handler-syntarev-parse ules/.bin/node 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, .object.type] | @tsv /repos/actions/setup-node/git/ref/tags/v4 --jq /usr/bin/git /ref/tags/v9 remote.origin.urrev-parse sv git rev-�� --show-toplevel git /usr/bin/git master resolved$ /usr/bin/git 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, .object.type] | @tsv cjs (http block)
    • Triggering command: /usr/bin/gh gh api /repos/actions/github-script/git/ref/tags/v9 --jq [.object.sha, .object.type] | @tsv (http block)
    • Triggering command: /usr/bin/gh gh api /repos/actions/github-script/git/ref/tags/v9 --jq [.object.sha, .object.type] | @tsv -template-expressions.md (http block)
  • https://api.github.com/repos/actions/github-script/git/ref/tags/v9.0.0
    • Triggering command: /usr/bin/gh gh api /repos/actions/github-script/git/ref/tags/v9.0.0 --jq [.object.sha, .object.type] | @tsv cjs (http block)
    • Triggering command: /usr/bin/gh gh api /repos/actions/github-script/git/ref/tags/v9.0.0 --jq [.object.sha, .object.type] | @tsv (http block)
    • Triggering command: /usr/bin/gh gh api /repos/actions/github-script/git/ref/tags/v9.0.0 --jq [.object.sha, .object.type] | @tsv js/**/*.json&#39; ---test.timeout=10m0s (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, .object.type] | @tsv --show-toplevel node /usr/bin/git Onlyrepos_only_winfocmp on rkflow/js/**/*.jxterm-color git rev-�� --show-toplevel sh /usr/bin/git runs/20260505-14git (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, .object.type] | @tsv /ref/tags/v9 remote.origin.url sv on&#39; --ignore-patgit --local odules/npm/node_--show-toplevel git chec�� master resolved$ /usr/bin/git ./../pkg/workflogit credential.usernrev-parse x_amd64/link git (http block)
    • Triggering command: /usr/bin/gh gh api /repos/actions/setup-node/git/ref/tags/v4 --jq [.object.sha, .object.type] | @tsv /ref/tags/v9 node sv Onlymin-integritinfocmp on rkflow/js/**/*.jxterm-color infocmp -1 xterm-color sh /usr/bin/git /ref/tags/v9.0.0git (http block)
    • Triggering command: /usr/bin/gh gh api /repos/actions/setup-node/git/ref/tags/v4 --jq [.object.sha, .object.type] | @tsv ithub-script/git/ref/tags/v9 git bject.type] | @tsv --show-toplevel (http block)
  • https://api.github.com/repos/actions/setup-node/git/ref/tags/v6
    • Triggering command: /usr/bin/gh gh api /repos/actions/setup-node/git/ref/tags/v6 --jq [.object.sha, .object.type] | @tsv licyTrustedUsersExpressionCompiledOutput1668277002/001 -importcfg /opt/hostedtoolcache/node/24.14.1/x64/bin/node l -w -buildmode=exe node /tmp�� k/gh-aw/gh-aw/.github/workflows -extld=gcc /usr/bin/git .&#34; (http block)
    • Triggering command: /usr/bin/gh gh api /repos/actions/setup-node/git/ref/tags/v6 --jq [.object.sha, .object.type] | @tsv -m initial commit /usr/bin/git h ../../../.pretgit (http block)
    • Triggering command: /usr/bin/gh gh api /repos/actions/setup-node/git/ref/tags/v6 --jq [.object.sha, .object.type] | @tsv /tmp/gh-aw-test-runs/20260505-140524-9891/test-286938694 config om/org2/repo2.git remote.origin.urgit --global st.cjs infocmp -1 xterm-color git /usr/bin/git ant-1765332930/.git if-handler-syntarev-parse 86_64/bash git (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, .object.type] | @tsv 0524-9891/test-4025224123 git /usr/bin/git --local --get rgo/bin/bash git conf�� --get remote.origin.url 925339/b404/cli.test get --local kflow.test 925339/b404/cli.test (http block)
  • https://api.github.com/repos/aws-actions/configure-aws-credentials/git/ref/tags/v4
    • Triggering command: /usr/bin/gh gh api /repos/aws-actions/configure-aws-credentials/git/ref/tags/v4 --jq [.object.sha, .object.type] | @tsv --show-toplevel git /usr/bin/git v1.0.0 rev-parse /usr/bin/git git rev-�� --show-toplevel git /usr/bin/gh user.email test@example.comauth _id&#34;:200}] gh (http block)
    • Triggering command: /usr/bin/gh gh api /repos/aws-actions/configure-aws-credentials/git/ref/tags/v4 --jq [.object.sha, .object.type] | @tsv --show-toplevel git /usr/bin/git ons-test75516125gh config ow-with-reaction/repos/actions/github-script/git/ref/tags/v9 git rev-�� /ref/tags/v9 git sv --show-toplevel x_amd64/vet /usr/bin/git gh (http block)
  • https://api.github.com/repos/azure/login/git/ref/tags/v2
    • Triggering command: /usr/bin/gh gh api /repos/azure/login/git/ref/tags/v2 --jq [.object.sha, .object.type] | @tsv --show-toplevel node /usr/bin/git /home/REDACTED/worgit (http block)
  • https://api.github.com/repos/docker/login-action/git/ref/tags/v3
    • Triggering command: /usr/bin/gh gh api /repos/docker/login-action/git/ref/tags/v3 --jq [.object.sha, .object.type] | @tsv --show-toplevel infocmp /usr/bin/git /ref/tags/v9.0.0git r-test83893460/trev-parse sv git rev-�� --show-toplevel infocmp /usr/bin/git xterm-color (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, .object.type] | @tsv --show-toplevel bash /usr/bin/git 0524-9891/test-4gh (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, .object.type] | @tsv --show-toplevel git /usr/bin/git get --local nch,headSha,disp--show-toplevel git rev-�� --show-toplevel git /usr/bin/git lGitcustom_brancgit lGitcustom_brancrev-parse 86_64/bash git (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, .object.type] | @tsv --show-toplevel n_sha_checker_in--initial-branch=main /usr/bin/gh n_sha_validationgit ation_checkout_trev-parse nch,headSha,disp--show-toplevel gh api /repos/actions/github-script/git/ref/tags/v9.0.0 --jq /usr/bin/git th .prettierignogit --local 64/pkg/tool/linu--show-toplevel git (http block)
  • https://api.github.com/repos/github/gh-aw/actions/runs
    • Triggering command: /usr/bin/gh gh run list --json databaseId,number,url,status,conclusion,workflowName,createdAt,startedAt,updatedAt,event,headBranch,headSha,displayTitle --limit 100 --created &gt;=2026-04-28 (http block)
    • Triggering command: /usr/bin/gh gh run list --json databaseId,number,url,status,conclusion,workflowName,createdAt,startedAt,updatedAt,event,headBranch,headSha,displayTitle --limit 100 --created &gt;=2026-04-05 (http block)
    • Triggering command: /usr/bin/gh gh run list --json databaseId,number,url,status,conclusion,workflowName,createdAt,startedAt,updatedAt,event,headBranch,headSha,displayTitle --limit 100 --created &gt;=2026-02-04 (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 (http block)
    • Triggering command: /usr/bin/gh gh run download 1 --dir test-logs/run-1 (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 LsRemoteWithRealGitbranch_with_hyphen796560083/001&#39; 64/bin/node (http block)
    • Triggering command: /usr/bin/gh gh run download 12345 --dir test-logs/run-12345 (http block)
  • https://api.github.com/repos/github/gh-aw/actions/runs/1234567890
    • Triggering command: /usr/bin/gh gh api repos/{owner}/{repo}/actions/runs/1234567890 --jq {databaseId: .id, number: .run_number, url: .html_url, status: .status, conclusion: .conclusion, workflowName: .name, workflowPath: .path, createdAt: .created_at, startedAt: .run_started_at, updatedAt: .updated_at, event: .event, headBranch: .head_branch, 444484373/001&#39; 444484373/001&#39; de/node/bin/bash (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 (http block)
    • Triggering command: /usr/bin/gh gh run download 12346 --dir test-logs/run-12346 (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 (http block)
    • Triggering command: /usr/bin/gh gh run download 2 --dir test-logs/run-2 (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 (http block)
    • Triggering command: /usr/bin/gh gh run download 3 --dir test-logs/run-3 (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 (http block)
    • Triggering command: /usr/bin/gh gh run download 4 --dir test-logs/run-4 (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 (http block)
    • Triggering command: /usr/bin/gh gh run download 5 --dir test-logs/run-5 (http block)
  • https://api.github.com/repos/github/gh-aw/actions/workflows
    • Triggering command: /usr/bin/gh gh workflow list --json name,state,path h ../../../.prettierignore (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 Fr/i468mw4aGgIpl-C (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 (http block)
  • https://api.github.com/repos/github/gh-aw/contents/.github/workflows/shared/reporting.md
    • Triggering command: /tmp/go-build184925339/b404/cli.test /tmp/go-build184925339/b404/cli.test -test.testlogfile=/tmp/go-build184925339/b404/testlog.txt -test.paniconexit0 -test.v=true -test.parallel=4 -test.timeout=10m0s -test.run=^Test -test.short=true (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, .object.type] | @tsv --show-toplevel 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, .object.type] | @tsv (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, .object.type] | @tsv ned-imports-enabled-with-env-template-expressions-in-body.md --local tnet/tools/bash credential.userninfocmp (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, .object.type] | @tsv json&#39; --ignore-path ../../../.pr**/*.json if-handler-syntax 64/pkg/tool/linux_amd64/compile credential.userngit (http block)
    • Triggering command: /usr/bin/gh gh api /repos/github/gh-aw/git/ref/tags/v2.0.0 --jq [.object.sha, .object.type] | @tsv ant-1765332930/.--detach if-handler-syntax node user.name (http block)
    • Triggering command: /usr/bin/gh gh api /repos/github/gh-aw/git/ref/tags/v2.0.0 --jq [.object.sha, .object.type] | @tsv ned-imports-enabled-with-env-template-expressions-in-body.md if-handler-syntax ache/node/24.14.1/x64/bin/bash user.name (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, .object.type] | @tsv json&#39; --ignore-path ../../../.pr**/*.json if-handler-syntax ules/.bin/prettier user.name (http block)
  • https://api.github.com/repos/google-github-actions/auth/git/ref/tags/v2
    • Triggering command: /usr/bin/gh gh api /repos/google-github-actions/auth/git/ref/tags/v2 --jq [.object.sha, .object.type] | @tsv --show-toplevel git /usr/bin/git ErrorFormatting3git (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, .object.type] | @tsv vaScript3715810660/001/test-frontmatter-with-arr--thin (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 (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 x_amd64/compile (http block)
    • Triggering command: /usr/bin/gh gh workflow list --json name,state,path --repo owner/repo x_amd64/cgo (http block)
    • Triggering command: /usr/bin/gh gh workflow list --repo owner/repo --json name,path,state 1/x64/bin/node nore (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 h ../../../.pret.prettierignore (http block)
  • https://api.github.com/repos/test/repo
    • Triggering command: /usr/bin/gh gh api /repos/test/repo --jq .default_branch 86938694 (http block)

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

@pelikhan pelikhan merged commit d40d424 into main May 5, 2026
@pelikhan pelikhan deleted the copilot/add-elseif-handler-syntax branch May 5, 2026 14:19
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