Skip to content

[repo-assist] docs: fix stale code-complexity repo name references #553

Description

@github-actions

🤖 This PR was created by Repo Assist, an automated AI assistant.

What

Fixes two stale references to the old repository name code-complexity (the repo was renamed to code-metrics):

  1. CONTRIBUTING.md: the git clone example URL pointed at code-complexity.git, which does not exist — new contributors following the setup instructions verbatim would hit a 404.
  2. .github/copilot-instructions.md: the project description still called the extension "code-complexity" instead of "code-metrics".

Why

This is a Task 5 (Coding/Documentation Improvement) pick this run: no new dependency work was actionable (all outstanding bumps are already covered by open Dependabot PRs #546/#501/#455), and no low-risk code change stood out, but this onboarding-facing doc bug was a clear, low-risk fix.

Trade-offs

None — purely a text correction, no behavior change. CHANGELOG.md also contains historical code-complexity references but those are auto-generated by release-please from real historical commit/issue URLs and should not be edited.

Test Status

  • npm run compile: ✅ clean
  • npm run lint: ✅ clean
  • No functional code changed; npm test (VS Code integration tests) not required for a doc-only change.

Warning

Protected Files — Push Permission Denied

This was originally intended as a pull request, but the patch modifies protected files. A human must create the pull request manually.

Protected files
  • CONTRIBUTING.md

The push was rejected because GitHub Actions does not have workflows permission to push these changes, and is never allowed to make such changes, or other authorization being used does not have this permission.

Create the pull request manually
# Download the patch from the workflow run
gh run download 32258596293 -n agent -D /tmp/agent-32258596293

# Create a new branch
git checkout -b repo-assist/fix-contributing-clone-url-d646b9cfdc766a8c main

# Apply the patch (--3way handles cross-repo patches)
git am --3way /tmp/agent-32258596293/aw-repo-assist-fix-contributing-clone-url.patch

# Push the branch and create the pull request
git push origin repo-assist/fix-contributing-clone-url-d646b9cfdc766a8c
gh pr create --title '[repo-assist] docs: fix stale code-complexity repo name references' --base main --head repo-assist/fix-contributing-clone-url-d646b9cfdc766a8c --repo askpt/code-metrics

Warning

Firewall blocked 1 domain

The following domain was blocked by the firewall during workflow execution:

  • releaseassets.githubusercontent.com

To allow these domains, add them to the network.allowed list in your workflow frontmatter:

network:
  allowed:
    - defaults
    - "releaseassets.githubusercontent.com"

See Network Configuration for more information.

Generated by 🌈 Repo Assist, see workflow run. Learn more.
Comment /repo-assist to run again

Add this agentic workflow to your repo

To install this agentic workflow, run

gh aw add githubnext/agentics/workflows/repo-assist.md@42c2ab5b4e4c9273534c39259b2e0df7f20f07e9

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions