Skip to content

fix: correct gh skill install invocation in mattpocock-skills-reviewer#30526

Merged
pelikhan merged 2 commits into
mainfrom
copilot/fix-matt-pocock-skills-reviewer-failure
May 6, 2026
Merged

fix: correct gh skill install invocation in mattpocock-skills-reviewer#30526
pelikhan merged 2 commits into
mainfrom
copilot/fix-matt-pocock-skills-reviewer-failure

Conversation

Copy link
Copy Markdown
Contributor

Copilot AI commented May 6, 2026

gh skill install mattpocock/skills --scope user fails silently in CI because gh skill requires a skill name in non-interactive mode, and the source path ~/.local/share/gh/skills is wrong for the GitHub Copilot agent (user-scoped skills land in ~/.copilot/skills).

Changes

  • mattpocock-skills-reviewer.md: Replace single broken gh skill install call with a loop that:

    1. Discovers skill names dynamically via gh api repos/mattpocock/skills/contents/skills/engineering
    2. Installs each skill individually using gh skill install mattpocock/skills "$skill" --dir "${SKILLS_DST}"

    Using --dir installs directly to the target directory, removing the separate copy step and the wrong-path bug entirely.

  • mattpocock-skills-reviewer.lock.yml: Recompiled from updated markdown.

# Before (fails non-interactively, wrong copy path)
gh skill install mattpocock/skills --scope user
SKILLS_SRC="${HOME}/.local/share/gh/skills"
cp -r "${SKILLS_SRC}/." "${SKILLS_DST}/"

# After (CI-safe, dynamic, no copy needed)
while IFS= read -r skill; do
  gh skill install mattpocock/skills "$skill" --dir "${SKILLS_DST}"
done < <(gh api repos/mattpocock/skills/contents/skills/engineering \
  --jq '[.[] | select(.type == "dir") | .name] | .[]')

The dynamic discovery via gh api also means new skills added to mattpocock/skills are automatically picked up without code changes.

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:

  • cli.github.com
    • Triggering command: /home/REDACTED/work/_temp/ghcca-node/node/bin/node /home/REDACTED/work/_temp/ghcca-node/node/bin/node --enable-source-maps /home/REDACTED/work/_temp/copilot-developer-action-main/dist/index.js (dns block)
  • 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 (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 s/mattpocock-ski-C (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 yml (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 on&#39; --ignore-path ../../../.prettierignore --jq (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 --show-toplevel /opt/hostedtoolcache/go/1.25.8/xrepos/{owner}/{repo}/actions/runs/3/artifacts /usr/bin/git -bool stmain.go ache/go/1.25.8/x--show-toplevel git rev-�� --show-toplevel ache/go/1.25.8/x64/pkg/tool/linuconfig /usr/bin/git --show-toplevel -tests &#34;warnings&#34;:[]}] 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, .object.type] | @tsv --show-toplevel 64/pkg/tool/linux_amd64/vet /usr/bin/git ting JavaScript gh .cfg 64/pkg/tool/linu/repos/actions/github-script/git/ref/tags/v9 git rev-�� --show-toplevel 64/pkg/tool/linutest@example.com /usr/bin/git LsRemoteWithRealgit LsRemoteWithRealrev-parse tartedAt,updated--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 0748-20997/test-4010362468 -buildtags e/git -errorsas -ifaceassert -nilfunc e/git estP�� /v2.0.0 tname) 1/x64/bin/node h ../../../.pretinfocmp -f bject.type] | @txterm-color 1/x64/bin/node (http block)
    • Triggering command: /usr/bin/gh gh api /repos/actions/checkout/git/ref/tags/v5 --jq [.object.sha, .object.type] | @tsv ithub-script/git/ref/tags/v9 infocmp bject.type] | @tsv xterm-color infocmp /usr/bin/git git rev-�� --show-toplevel git /usr/bin/git /tmp/TestGuardPogit rev-parse /usr/bin/git git (http block)
    • Triggering command: /usr/bin/gh gh api /repos/actions/checkout/git/ref/tags/v5 --jq [.object.sha, .object.type] | @tsv --show-toplevel infocmp /usr/bin/infocmp xterm-color ache/go/1.25.8/xrev-parse /usr/bin/git infocmp -1 xterm-color git /usr/bin/git --show-toplevel /opt/hostedtoolcrev-parse /usr/bin/gh git (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 (http block)
    • Triggering command: /usr/bin/gh gh api /repos/actions/checkout/git/ref/tags/v6 --jq [.object.sha, .object.type] | @tsv get --local ash ock.json pkg/worgit (http block)
    • Triggering command: /usr/bin/gh gh api /repos/actions/checkout/git/ref/tags/v6 --jq [.object.sha, .object.type] | @tsv k/gh-aw/gh-aw/.github/workflows (http block)
  • https://api.github.com/repos/actions/download-artifact/git/ref/tags/v8
    • Triggering command: /usr/bin/gh gh api /repos/actions/download-artifact/git/ref/tags/v8 --jq [.object.sha, .object.type] | @tsv /ref/tags/v9 security $name) { hasDiscussionsEnabled } } l -d 168.63.129.16 bash --no�� k/gh-aw/gh-aw owner kflows/cloclo.lock.yml 0 -j ACCEPT /bin/sh (http block)
    • Triggering command: /usr/bin/gh gh api /repos/actions/download-artifact/git/ref/tags/v8 --jq [.object.sha, .object.type] | @tsv /ref/tags/v9 security le-check.lock.yml l (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 xterm-color node /usr/bin/git /home/REDACTED/worgit x_amd64/vet /usr/bin/git git rev-�� --show-toplevel git /usr/bin/infocmp .github/workflowgit resolved$ /usr/bin/git infocmp (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 (http block)
    • Triggering command: /usr/bin/gh gh api /repos/actions/github-script/git/ref/tags/v9 --jq [.object.sha, .object.type] | @tsv k/_temp/runtime-logs/command.sh (http block)
    • Triggering command: /usr/bin/gh gh api /repos/actions/github-script/git/ref/tags/v9 --jq [.object.sha, .object.type] | @tsv pkg/actionpins/data/action_pins.json; \ cp .github/aw/actions-lock.json pkg/workflow/data/action_pins.json; \ echo &#34;��� Action pins synced successfully&#34;; \ else \ echo &#34;��� (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 k/gh-aw/gh-aw git k.yml --local commit.gpgsign 1/x64/bin/bash git -C json&#39; --ignore-path ../../../.pr.prettierignore show kflows/glossary-maintainer.lock.yml tions-lock.json /opt/hostedtoolcache/go/1.25.8/x64/pkg/tool/linux_amd64/vet (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 k/gh-aw/gh-aw/.g-errorsas git /usr/bin/git l origin ache/node/24.14.-unreachable=false git -C on&#39; --ignore-path ../../../.pret.prettierignore config sv remote.origin.ur/opt/hostedtoolcache/go/1.25.8/x64/pkg/tool/linux_amd64/vet (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 ithub/workflows -f ode_modules/.bin/prettier -f owner=github -f infocmp -1 ithub/workflows bash /usr/bin/infocmp --noprofile (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 /opt/hostedtoolcache/go/1.25.8/x^remote\..*\.gh-resolved$ /usr/bin/gh 1543262792 /tmp/go-build212-1 e/git gh api /repos/actions/github-script/git/ref/tags/v9 --jq /usr/bin/git -unreachable=falgit tname) (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 --show-toplevel x_amd64/vet /usr/bin/git tted&#34; iptables x_amd64/vet git rev-�� --git-dir resolved$ /opt/hostedtoolcache/node/24.14.1/x64/bin/node g_.a show 64/pkg/tool/linu--show-toplevel /opt/hostedtoolcache/node/24.14.1/x64/bin/node (http block)
    • Triggering command: /usr/bin/gh gh api /repos/actions/setup-node/git/ref/tags/v4 --jq [.object.sha, .object.type] | @tsv --show-toplevel /opt/hostedtoolctest@example.com /usr/bin/git 0748-20997/test-gh /tmp/go-build212api e/git git rev-�� --show-toplevel e/git /usr/bin/git 3 /tmp/go-build212rev-parse /opt/hostedtoolc--show-toplevel git (http block)
    • Triggering command: /usr/bin/gh gh api /repos/actions/setup-node/git/ref/tags/v4 --jq [.object.sha, .object.type] | @tsv --show-toplevel git /usr/bin/git ons-test41734385git rev-parse ow-without-react--show-toplevel git rev-�� /ref/tags/v9 infocmp sv res_import_test.infocmp t_schema_test.go-1 64/pkg/tool/linuxterm-color gh (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 (http block)
    • Triggering command: /usr/bin/gh gh api /repos/actions/setup-node/git/ref/tags/v6 --jq [.object.sha, .object.type] | @tsv get --local /usr/bin/git credential.userninfocmp (http block)
    • Triggering command: /usr/bin/gh gh api /repos/actions/setup-node/git/ref/tags/v6 --jq [.object.sha, .object.type] | @tsv ithub-script/git/ref/tags/v9 (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 /home/REDACTED/work/gh-aw/gh-aw/.github/workflows/agent-persona-explorer.md /tmp/go-build2125775124/b451/_testmain.go /usr/bin/git */*.ts&#39; &#39;**/*.jsgit cat x_amd64/vet git rev-�� --show-toplevel x_amd64/vet (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 ache/node/24.14.1/x64/bin/node /usr/bin/git uts.branch gh /usr/bin/git git rev-�� --show-toplevel git /usr/bin/git --show-toplevel x_amd64/vet ipts.test git (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 k/gh-aw/gh-aw/pkgh node /opt/hostedtoolc/repos/actions/github-script/git/ref/tags/v9 git rev-�� /ref/tags/v9 /opt/hostedtoolcache/go/1.25.8/x64/pkg/tool/linuconfig sv /tmp/go-build212git -importcfg /usr/bin/git infocmp (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 git /usr/bin/git /tmp/TestGuardPogit remote /tmp/go-build212--show-toplevel git rev-�� --show-toplevel /tmp/go-build2125775124/b460/tty.test /usr/bin/git -test.paniconexiinfocmp -test.v=true om/owner/repo.gixterm-color git (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 git /usr/bin/git /tmp/TestGuardPogit rev-parse /usr/bin/git git rev-�� --show-toplevel git /usr/bin/infocmp /tmp/gh-aw-test-infocmp show /usr/bin/git infocmp (http block)
  • https://api.github.com/repos/docker/metadata-action/git/ref/tags/v6
    • Triggering command: /usr/bin/gh gh api /repos/docker/metadata-action/git/ref/tags/v6 --jq [.object.sha, .object.type] | @tsv origin docs/update-astrowner=github r: $owner, name:-f (http block)
    • Triggering command: /usr/bin/gh gh api /repos/docker/metadata-action/git/ref/tags/v6 --jq [.object.sha, .object.type] | @tsv ithub/workflows (http block)
  • https://api.github.com/repos/docker/setup-buildx-action/git/ref/tags/v4
    • Triggering command: /usr/bin/gh gh api /repos/docker/setup-buildx-action/git/ref/tags/v4 --jq [.object.sha, .object.type] | @tsv --noprofile (http block)
    • Triggering command: /usr/bin/gh gh api /repos/docker/setup-buildx-action/git/ref/tags/v4 --jq [.object.sha, .object.type] | @tsv tions-lock.json from .github/aw to pkg/actionpins/data/action_pi--stats (http block)
  • https://api.github.com/repos/github/gh-aw
    • Triggering command: /usr/bin/gh gh api /repos/github/gh-aw --jq .default_branch /ref/tags/v9 (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 /repos/actions/github-script/git/ref/tags/v9 --jq /usr/bin/git runs/20260506-06infocmp /tmp/go-build212-1 e/git git rev-�� --show-toplevel e/git /usr/bin/git FieldEnforcementinfocmp /tmp/go-build212-1 ache/go/1.25.8/xxterm-color git (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 /v1.0.0 (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 x_amd64/vet /usr/bin/git /home/REDACTED/worgit config x_amd64/vet git rev-�� --show-toplevel x_amd64/vet /usr/bin/git frontmatter.md --jq x_amd64/link 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-29 :latest r: $owner, name: $name) { has--show-toplevel 64/pkg/tool/linux_amd64/vet itcu�� te &#39;scripts/**/*.js&#39; --ignore-path .prettierigno-errorsas .cfg 64/pkg/tool/linux_amd64/vet --noprofile (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-06 owner=github -f 64/pkg/tool/linuremote.origin.url itcu�� te &#39;scripts/**/*.js&#39; --ignore-path .prettierigno-errorsas .cfg 64/pkg/tool/linux_amd64/vet k/gh-aw/gh-aw (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-05 (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 on ache/go/1.25.8/x64/pkg/tool/linu-lang=go1.25 /../../.prettierinfocmp erignore t-solving-potd.lxterm-color ache/go/1.25.8/x64/pkg/tool/linu-dwarf=false estl�� se 5775124/b143/vet.cfg k /ref/tags/v9 -f r: $owner, name: $name) { has-pack ache/go/1.25.8/x64/pkg/tool/linu/tmp/go-build2125775124/b453/_testmain.go (http block)
    • Triggering command: /usr/bin/gh gh run download 1 --dir test-logs/run-1 security ache/go/1.25.8/x64/pkg/tool/linux_amd64/vet /../../.prettiergit (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 --jq ache/go/1.25.8/x64/pkg/tool/linux_amd64/vet ithub/workflows c repository(owne--show-toplevel ache/go/1.25.8/x64/pkg/tool/linu-test.v=true (http block)
    • Triggering command: /usr/bin/gh gh run download 12345 --dir test-logs/run-12345 .cfg 64/pkg/tool/linux_amd64/vet /../../.prettier/opt/hostedtoolcache/node/24.14.1/x64/bin/node erignore anges-analyzer.lActor: ${{ github.actor }}, Repo: ${{ github.repository }} 64/pkg/tool/linux_amd64/vet (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, k/gh-aw/gh-aw/.g-errorsas :latest /usr/bin/gh --noprofile (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 rkflow/js/**/*.json ache/go/1.25.8/x64/pkg/tool/linux_amd64/vet erignore -trimpath /usr/bin/runc.or--show-toplevel ache/go/1.25.8/x64/pkg/tool/linux_amd64/vet (http block)
    • Triggering command: /usr/bin/gh gh run download 12346 --dir test-logs/run-12346 on ache/go/1.25.8/x64/pkg/tool/linux_amd64/vet /../../.prettiergh erignore (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 on x_amd64/compile /../../.prettier/opt/hostedtoolcache/node/24.14.1/x64/bin/node erignore k.yml x_amd64/compile (http block)
    • Triggering command: /usr/bin/gh gh run download 2 --dir test-logs/run-2 5775124/b012/vet.cfg ache/go/1.25.8/x64/pkg/tool/linux_amd64/link ithub/workflows onpins ache/go/1.25.8/x--show-toplevel ache/go/1.25.8/x64/pkg/tool/linux_amd64/link /opt�� 01/test2.md --write ache/go/1.25.8/x64/pkg/tool/linux_amd64/vet **/*.ts **/*.json --ignore-path ortcfg (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 on x_amd64/vet /../../.prettier/usr/bin/git erignore bject.type] | @t--get-regexp x_amd64/vet (http block)
    • Triggering command: /usr/bin/gh gh run download 3 --dir test-logs/run-3 5775124/b011/vet.cfg ache/go/1.25.8/x64/pkg/tool/linux_amd64/vet k/gh-aw/gh-aw (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 til_test.go x_amd64/link /../../.prettiergit erignore r: $owner, name: $name) { has/home/REDACTED/work/gh-aw/gh-aw/.github/workflows x_amd64/link (http block)
    • Triggering command: /usr/bin/gh gh run download 4 --dir test-logs/run-4 git ache/go/1.25.8/x64/pkg/tool/linux_amd64/compile /ref/tags/v9 log sv ache/go/1.25.8/x64/pkg/tool/linuremote.origin.url /opt�� 5775124/b070/_pkg_.a --write .cfg **/*.ts **/*.json --ignore-path ache/go/1.25.8/x64/pkg/tool/linux_amd64/vet (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 on x_amd64/compile /../../.prettier/usr/bin/git erignore me: String!) { -v x_amd64/compile (http block)
    • Triggering command: /usr/bin/gh gh run download 5 --dir test-logs/run-5 .cfg ache/go/1.25.8/x64/pkg/tool/linux_amd64/vet --format=%(refnagit --merged=2e46eaarev-parse /usr/bin/git ache/go/1.25.8/x64/pkg/tool/linux_amd64/vet /opt�� 01/test1.md --write ache/go/1.25.8/x64/pkg/tool/linux_amd64/vet **/*.ts **/*.json --ignore-path ache/go/1.25.8/x64/pkg/tool/linux_amd64/vet (http block)
  • https://api.github.com/repos/github/gh-aw/actions/workflows
    • Triggering command: /usr/bin/gh gh workflow list --json name,state,path on&#39; --ignore-path ../../../.prettierignore rev-parse (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 owner=github -f x_amd64/vet 1/x6�� adata/main.go mcp/markitdown x_amd64/compile ithub/workflows security (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-build2125775124/b404/cli.test /tmp/go-build2125775124/b404/cli.test -test.testlogfile=/tmp/go-build2125775124/b404/testlog.txt -test.paniconexit0 -test.v=true -test.parallel=4 -test.timeout=10m0s -test.run=^Test -test.short=true --local committer.email r: $owner, name:-bool git -C ithub/workflows show ache/uv/0.11.10/-nilfunc l --auto r: $owner, name:-bool git (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 /tmp/go-build2125775124/b457/timeutil.test /usr/bin/git -test.paniconexidu -test.v=true /usr/bin/git git rev-�� --show-toplevel git /usr/bin/infocmp bash x_amd64/vet /usr/bin/git infocmp (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 sRemoteWithRealGitmaster_branch154601225/001 sRemoteWithRealGitmaster_branch154601225/002/work g_.a **/*.json --ignore-path ../../../.prettixterm-color ache/go/1.25.8/x64/pkg/tool/linuconfig -c 0748-20997/test-4120399504/.githremote.origin.url git 1/x64/bin/node /home/REDACTED/worinfocmp rev-parse rets-analysis.loxterm-color ache/go/1.25.8/x64/pkg/tool/linumyorg (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 */*.ts&#39; &#39;**/*.js--thin -f x_amd64/vet l owner=github -f x_amd64/vet -C ub/workflows config x_amd64/compile remote.origin.urgit (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 */*.ts&#39; &#39;**/*.json&#39; --ignore-path ../../../.pret.prettierignore cat x_amd64/vet (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 */*.ts&#39; &#39;**/*.json&#39; --ignore-path ../../../.prettierignore config x_amd64/vet remote.origin.ur/opt/hostedtoolcache/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/v2.0.0 --jq [.object.sha, .object.type] | @tsv */*.ts&#39; &#39;**/*.json&#39; --ignore-path ../../../.prettierignore rev-parse x_amd64/vet l (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 */*.ts&#39; &#39;**/*.json&#39; --ignore-path ../../../.pret.prettierignore --jq x_amd64/vet l (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 /tmp/TestGuardPogit rev-parse /usr/bin/git git rev-�� --show-toplevel git /usr/bin/git -f x_amd64/vet /usr/bin/git 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, .object.type] | @tsv --write **/*.cjs 1/x64/bin/node **/*.json --ignore-path ../../../.pretti--get-regexp ache/go/1.25.8/x^remote\..*\.gh-resolved$ -has�� vaScript90937316/001/test-empty-frontmatter.md git 5775124/b193/vet.cfg k/gh-aw/gh-aw/.ggit show /usr/bin/gh /opt/hostedtoolcache/go/1.25.8/xremote2 (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 ./../.prettieriggit gh/go-spew/spew r: $owner, name:--show-toplevel IJmkZLYxQ1wYfQTZCe/-VaHsl5d9Jg_D/tmp/go-build2125775124/b451/_testmain.go (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 sv --noprofile (http block)
    • Triggering command: /usr/bin/gh gh workflow list --json name,state,path --repo owner/repo /usr/bin/infocmp --noprofile (http block)
    • Triggering command: /usr/bin/gh gh workflow list --repo owner/repo --json name,path,state ache/go/1.25.8/x64/pkg/tool/linux_amd64/vet **/*.ts **/*.json --ignore-path ache/go/1.25.8/x64/pkg/tool/linux_amd64/vet (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 on&#39; --ignore-path ../../../.pret.prettierignore -f kflow-call-with-inputs.lock.yml -f owner=github ed } } /usr/bin/gh api ypass.go ommon.go x_amd64/compile -f owner=github -f x_amd64/compile (http block)
  • https://api.github.com/repos/test/repo
    • Triggering command: /usr/bin/gh gh api /repos/test/repo --jq .default_branch t3446880609/.github/workflows 5775124/b107/vet.cfg g_.a xterm-color (http block)

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

Copilot AI linked an issue May 6, 2026 that may be closed by this pull request
@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented May 6, 2026

Hey @app/copilot-swe-agent 👋 — thanks for picking up the Matt Pocock Skills Reviewer workflow failure! This PR is clearly aligned with the project's agentic development model and the fix scope is well-defined.

A couple of things to address before this can be reviewed:

  • No changes yet — the diff is empty (0 additions, 0 deletions). The PR is still [WIP]; make sure to push the actual fix commits.
  • Add tests — once the workflow fix is in place, include test coverage (e.g. a workflow test or a unit test for any code touched) so reviewers can verify the fix holds.

Once the changes land, this looks like it will be a clean, focused fix. Keep it up! 🤖

If you would like a hand finishing up, here is a ready-to-use agent prompt:

Debug and fix the Matt Pocock Skills Reviewer workflow failure.

The failed run is at https://github.com/github/gh-aw/actions/runs/25390671732
Use the debug guide at https://raw.githubusercontent.com/github/gh-aw/main/debug.md

After applying the fix:
1. Ensure all changed files have appropriate test coverage.
2. Remove the [WIP] prefix from the PR title.
3. Update the PR body with a clear summary of what was broken and how it was fixed.

Generated by Contribution Check · ● 7.1M ·

- gh skill install requires a skill name in non-interactive (CI) mode
- The old SKILLS_SRC path ~/.local/share/gh/skills was wrong; copilot
  user skills install to ~/.copilot/skills
- Fix: dynamically discover skill names via gh api and install each one
  with --dir pointing directly to the target directory

Agent-Logs-Url: https://github.com/github/gh-aw/sessions/ed393505-0103-48f1-9b59-dab037c8a20b

Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
Copilot AI changed the title [WIP] Fix Matt Pocock Skills Reviewer workflow failure fix: correct gh skill install invocation in mattpocock-skills-reviewer May 6, 2026
Copilot AI requested a review from pelikhan May 6, 2026 06:14
@github-actions github-actions Bot mentioned this pull request May 6, 2026
@pelikhan pelikhan marked this pull request as ready for review May 6, 2026 11:11
Copilot AI review requested due to automatic review settings May 6, 2026 11:11
@pelikhan pelikhan merged commit fd57bb8 into main May 6, 2026
@pelikhan pelikhan deleted the copilot/fix-matt-pocock-skills-reviewer-failure branch May 6, 2026 11:11
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 the CI/non-interactive installation of Matt Pocock’s engineering skills by installing each skill explicitly into the correct destination directory used by the GitHub Copilot agent workflow.

Changes:

  • Replaced a single non-interactive-unfriendly gh skill install call with dynamic skill discovery (gh api …/contents/skills/engineering) and per-skill installation.
  • Installed skills directly into the workflow’s temporary skills directory via gh skill install … --dir …, removing the incorrect copy-from path and extra copy step.
Show a summary per file
File Description
.github/workflows/mattpocock-skills-reviewer.md Updates pre-agent steps to discover and install each engineering skill directly into RUNNER_TEMP via --dir.
.github/workflows/mattpocock-skills-reviewer.lock.yml Recompiled lockfile reflecting the updated install logic.

Copilot's findings

Tip

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

  • Files reviewed: 2/2 changed files
  • Comments generated: 1

Comment on lines +35 to +38
while IFS= read -r skill; do
gh skill install mattpocock/skills "$skill" --dir "${SKILLS_DST}"
done < <(gh api repos/mattpocock/skills/contents/skills/engineering \
--jq '[.[] | select(.type == "dir") | .name] | .[]')
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.

[aw] Matt Pocock Skills Reviewer failed

3 participants