From 2652578aa45a46580675ae44f9c26b59d418f344 Mon Sep 17 00:00:00 2001 From: "anthropic-code-agent[bot]" <242468646+Claude@users.noreply.github.com> Date: Wed, 25 Feb 2026 14:19:05 +0000 Subject: [PATCH 1/2] Initial plan From 264b44f6179d2066d1f0e6bcaccbc9c36b0cdefe Mon Sep 17 00:00:00 2001 From: "anthropic-code-agent[bot]" <242468646+Claude@users.noreply.github.com> Date: Wed, 25 Feb 2026 14:27:33 +0000 Subject: [PATCH 2/2] fix: remove malformed copilot-setup-steps.yml and fix hooks.json regex Co-authored-by: pangerlkr <73515951+pangerlkr@users.noreply.github.com> --- .github/workflows/copilot-setup-steps.yml | 18 ------------------ hooks/hooks.json | 2 +- 2 files changed, 1 insertion(+), 19 deletions(-) delete mode 100644 .github/workflows/copilot-setup-steps.yml diff --git a/.github/workflows/copilot-setup-steps.yml b/.github/workflows/copilot-setup-steps.yml deleted file mode 100644 index f9593bbf..00000000 --- a/.github/workflows/copilot-setup-steps.yml +++ /dev/null @@ -1,18 +0,0 @@ -steps: - - name: Setup Go environment - uses: actions/setup-go@v6.2.0 - with: - # The Go version to download (if necessary) and use. Supports semver spec and ranges. Be sure to enclose this option in single quotation marks. - go-version: # optional - # Path to the go.mod, go.work, .go-version, or .tool-versions file. - go-version-file: # optional - # Set this option to true if you want the action to always check for the latest available version that satisfies the version spec - check-latest: # optional - # Used to pull Go distributions from go-versions. Since there's a default, this is typically not supplied by the user. When running this action on github.com, the default value is sufficient. When running on GHES, you can pass a personal access token for github.com if you are experiencing rate limiting. - token: # optional, default is ${{ github.server_url == 'https://github.com' && github.token || '' }} - # Used to specify whether caching is needed. Set to true, if you'd like to enable caching. - cache: # optional, default is true - # Used to specify the path to a dependency file - go.sum - cache-dependency-path: # optional - # Target architecture for Go to use. Examples: x86, x64. Will use system architecture by default. - architecture: # optional diff --git a/hooks/hooks.json b/hooks/hooks.json index 33423181..e2d6f062 100644 --- a/hooks/hooks.json +++ b/hooks/hooks.json @@ -37,7 +37,7 @@ "hooks": [ { "type": "command", - "command": "node -e \"let d='';process.stdin.on('data',c=>d+=c);process.stdin.on('end',()=>{try{const i=JSON.parse(d);const p=i.tool_input?.file_path||'';if(/\\.(md|txt)$/.test(p)&&!/(README|CLAUDE|AGENTS|CONTRIBUTING|CHANGELOG|LICENSE|SKILL)\\.md$/i.test(p)&&!/\\.claude[\\/\\\\]plans[\\/\\\\]/.test(p)&&!/(^|[\\/\\\\])(docs|skills)[\\/\\\\]/.test(p)){console.error('[Hook] WARNING: Non-standard documentation file detected');console.error('[Hook] File: '+p);console.error('[Hook] Consider consolidating into README.md or docs/ directory')}}catch{}console.log(d)})\"" + "command": "node -e \"let d='';process.stdin.on('data',c=>d+=c);process.stdin.on('end',()=>{try{const i=JSON.parse(d);const p=i.tool_input?.file_path||'';if(/\\.(md|txt)$/.test(p)&&!/(README|CLAUDE|AGENTS|CONTRIBUTING|CHANGELOG|LICENSE|SKILL)\\.md$/i.test(p)&&!/\\.claude[/\\\\\\\\]plans[/\\\\\\\\]/.test(p)&&!/(^|[/\\\\\\\\])(docs|skills)[/\\\\\\\\]/.test(p)){console.error('[Hook] WARNING: Non-standard documentation file detected');console.error('[Hook] File: '+p);console.error('[Hook] Consider consolidating into README.md or docs/ directory')}}catch{}console.log(d)})\"" } ], "description": "Doc file warning: warn about non-standard documentation files (exit code 0; warns only)"