Skip to content

Sync contribution-check workflow and agent from github/gh-aw#171

Draft
Copilot wants to merge 3 commits intomainfrom
copilot/update-contributor-check-agent
Draft

Sync contribution-check workflow and agent from github/gh-aw#171
Copilot wants to merge 3 commits intomainfrom
copilot/update-contributor-check-agent

Conversation

Copy link
Contributor

Copilot AI commented Feb 18, 2026

Syncs contribution-check workflow and agent files with github/gh-aw main (commit cf2b312a, v0.45.4).

Changes

  • Agent (.github/agents/contribution-checker.agent.md): Fixed backtick formatting in code fence example, removed trailing newline
  • Workflow (workflows/contribution-check.md):
    • Added TARGET_REPOSITORY env variable for cross-repository PR checking
    • Removed frontmatter description (now handled by lock file)
    • Removed pre-agent steps section (embedded in compiled workflow)
    • Updated dispatch to reference ${{ env.TARGET_REPOSITORY }}
    • Reduced 274→172 lines
  • Docs (docs/contribution-check.md): Documented TARGET_REPOSITORY variable, removed obsolete configuration references

Cross-repository support

The workflow can now check PRs in a different repository:

env:
  TARGET_REPOSITORY: ${{ vars.TARGET_REPOSITORY || github.repository }}

Set TARGET_REPOSITORY as a repository variable to evaluate PRs from another repository while posting reports in the workflow's repository.

Both .github/agents/contribution-checker.agent.md and workflows/contribution-check.md now match github/gh-aw exactly (verified via MD5 checksums).

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:

  • github.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 gh repo view --json owner,name --jq .owner.login + "/" + .name (http block)
  • https://api.github.com/repos/actions/checkout/releases
    • Triggering command: /usr/bin/gh gh api /repos/actions/checkout/releases --jq .[].tag_name (http block)
  • https://api.github.com/repos/actions/github-script/releases
    • Triggering command: /usr/bin/gh gh api /repos/actions/github-script/releases --jq .[].tag_name (http block)
  • https://api.github.com/repos/github/gh-aw/commits/main
    • Triggering command: /usr/bin/gh /usr/bin/gh api /repos/github/gh-aw/commits/main --jq .sha (http block)
  • https://api.github.com/repos/github/gh-aw/contents/.github/agents
    • Triggering command: /usr/bin/gh gh api repos/github/gh-aw/contents/.github/agents (http block)
  • https://api.github.com/repos/github/gh-aw/contents/.github/aw
    • Triggering command: /usr/bin/curl curl -s REDACTED (http block)
  • https://api.github.com/repos/github/gh-aw/contents/workflows
    • Triggering command: /usr/bin/gh gh api repos/github/gh-aw/contents/workflows (http block)
  • https://api.github.com/repos/github/gh-aw/contents/workflows/contribution-check.md
    • Triggering command: /home/REDACTED/.local/share/gh/extensions/gh-aw/gh-aw /home/REDACTED/.local/share/gh/extensions/gh-aw/gh-aw add github/gh-aw/contribution-check --non-interactive (http block)
  • https://api.github.com/repos/github/gh-aw/releases
    • Triggering command: /usr/bin/gh gh api /repos/github/gh-aw/releases --jq .[].tag_name (http block)
  • https://api.github.com/repos/github/gh-aw/releases/latest
    • Triggering command: /usr/bin/gh gh extension upgrade github/gh-aw --dry-run (http block)
  • https://api.github.com/repos/githubnext/agentics/actions/workflows
    • Triggering command: /usr/bin/gh gh workflow list --all --json id,name,path,state (http block)
  • https://api.github.com/search/code
    • Triggering command: /usr/bin/curl curl -s REDACTED (http block)
  • https://api.github.com/user
    • Triggering command: /usr/bin/gh gh api user --jq .login (http block)

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


✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.

Copilot AI and others added 2 commits February 18, 2026 17:45
Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
…ORY variable

Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
Copilot AI changed the title [WIP] Update contributor-check.md and agent from github/gh-aw Sync contribution-check workflow and agent from github/gh-aw Feb 18, 2026
Copilot AI requested a review from pelikhan February 18, 2026 17:49
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.

2 participants

Comments