Skip to content

Commit edbc499

Browse files
ss-oCopilot
andauthored
Apply suggestions from code review
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> Signed-off-by: Sall <59910950+ss-o@users.noreply.github.com>
1 parent 1a6b8cb commit edbc499

1 file changed

Lines changed: 5 additions & 2 deletions

File tree

.github/copilot-instructions.md

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,10 @@ docker/
5555
- Never use Bashisms (`[[ ]]`, arrays, `local` with assignment, etc.) in this file.
5656
- **`run.sh`**, **`build.sh`**, **`zunit.sh`** are Bash (shebang `#!/usr/bin/env bash`). 2-space indentation, `# vim: ft=bash sw=2 ts=2 et` modeline.
5757
- **Zsh files** (`utils.zsh`, `zshrc`, `zshenv`, `*.zunit`) use 2-space indentation and the modeline `# vim: ft=zsh sw=2 ts=2 et`.
58-
- All text files: UTF-8, LF line endings, 2-space indent (except Makefiles/Go/Java → 4-space/tab).
58+
- All text files: UTF-8, LF line endings. Default indent is 2 spaces, except:
59+
- `Makefile*`: tab indentation with `indent_size=4`.
60+
- `*.py`, `*.rb`: 4-space indentation.
61+
- `*.go`, `*.java`, `*.scala`, `*.groovy`, `*.kotlin`: tab indentation with `indent_size=4`.
5962
- Trailing whitespace is trimmed; files end with a newline (enforced by `.editorconfig`).
6063

6164
### Dockerfile
@@ -80,7 +83,7 @@ docker/
8083
| Workflow | Trigger | What it does |
8184
|---|---|---|
8285
| `docker.yml` | push/PR to `main` touching `docker/**`, scheduled Wed 03:00 UTC | Builds multi-arch image (`linux/amd64`, `linux/arm64`) for Zsh 5.5.1–5.9 matrix + `latest` tag |
83-
| `zunit.yml` | push to `main` touching `*.zunit`, scheduled Mon/Wed 12:00 UTC, `workflow_dispatch` | Runs each `*.zunit` file as a separate matrix job |
86+
| `zunit.yml` | push to `main` touching `*.zunit`, scheduled Mon/Wed/Fri/Sun 12:00 UTC, `workflow_dispatch` | Runs each `*.zunit` file as a separate matrix job |
8487
| `zsh-n.yml` | Zsh `-n` syntax check | Checks all Zsh files for syntax errors |
8588

8689
### Common build failure causes

0 commit comments

Comments
 (0)