Added copilot instructions and claude action#677
Merged
VisLab merged 4 commits intohed-standard:mainfrom Mar 18, 2026
Merged
Conversation
Contributor
There was a problem hiding this comment.
Pull request overview
This PR adds repository automation/configuration for contributor guidance and CI tooling, including new Copilot instructions, a Claude Code GitHub Action workflow, and a switch in spell-check tooling.
Changes:
- Replace the Codespell workflow with a Typos-based spell-check workflow and add a
.typos.tomlconfiguration. - Add a Claude Code workflow that responds to
@claudetriggers on issues/PR comments/reviews (for permitted author associations). - Add/adjust repository hygiene/config files:
.github/copilot-instructions.md,.gitattributes, and.gitignoreupdates (e.g., ignore.status/,.vscode/).
Reviewed changes
Copilot reviewed 6 out of 7 changed files in this pull request and generated 3 comments.
Show a summary per file
| File | Description |
|---|---|
.typos.toml |
Adds Typos config (exclusions + allowlisted words) to support the new spelling CI check. |
.gitignore |
Stops ignoring Copilot instructions; adds ignores for .status/ and .vscode/. |
.github/workflows/typos.yaml |
Introduces a Typos spell-check workflow to replace Codespell. |
.github/workflows/codespell.yaml |
Removes the previous Codespell workflow. |
.github/workflows/claude.yaml |
Adds Claude Code automation triggered by @claude in approved contexts. |
.github/copilot-instructions.md |
Adds repo-specific contributor/assistant instructions, commands, and CI checklist. |
.gitattributes |
Adds LF normalization and binary/text handling rules across common file types. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
You can also share your feedback on Copilot code review. Take the survey.
| @@ -0,0 +1,150 @@ | |||
| # hed-javascript Copilot instructions | |||
Comment on lines
+139
to
+142
| | `codeql.yml` | automatic | CodeQL security scan (JavaScript) | | ||
| | `codespell.yaml` | automatic | Spell check source files | | ||
| | `links.yml` | automatic | Lychee link checker (configured via `lychee.toml`) | | ||
|
|
Comment on lines
+1
to
+29
| --- | ||
| name: Typos | ||
|
|
||
| on: | ||
| push: | ||
| branches: [main] | ||
| pull_request: | ||
| branches: [main] | ||
|
|
||
| permissions: | ||
| contents: read | ||
|
|
||
| jobs: | ||
| typos: | ||
| name: Check for spelling errors | ||
| runs-on: ubuntu-latest | ||
|
|
||
| steps: | ||
| - name: Checkout | ||
| uses: actions/checkout@v6 | ||
|
|
||
| - name: Install uv | ||
| uses: astral-sh/setup-uv@v7 | ||
| with: | ||
| enable-cache: true | ||
| cache-dependency-glob: '.typos.toml' | ||
|
|
||
| - name: Run typos | ||
| run: uvx 'typos>=1.29.0' |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.