diff --git a/.gitea/workflows/validate.yml b/.github/workflows/validate.yml similarity index 100% rename from .gitea/workflows/validate.yml rename to .github/workflows/validate.yml diff --git a/AGENTS.md b/AGENTS.md index 64f637a..5d743ff 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -3,7 +3,7 @@ Rules for AI coding assistants working in this repository. - **dora >= 1.0.** Verified against `dora-cli 1.0.1`, which CI pins in - `.gitea/workflows/validate.yml`. + `.github/workflows/validate.yml`. - **`uv` for everything:** `uv sync --group dev`, `uv run pytest`, `uv run ruff check .`, `uv run python ...`. Never `pip` into the ambient environment. @@ -13,13 +13,15 @@ Rules for AI coding assistants working in this repository. - **numpy-style docstrings.** - **Dependencies must ship prebuilt wheels for linux-x86_64, linux-aarch64 and macos-arm64.** `uv sync` is the whole install: no system packages, no compiler. -- **Run the workflow locally with `act` before asking for a commit.** It lives in - `.gitea/workflows/`, which is not where `act` looks by default: +- **Run the workflow locally with `act` before asking for a commit:** ```bash - act pull_request -W .gitea/workflows/validate.yml \ - -P ubuntu-latest=catthehacker/ubuntu:act-latest + act pull_request -P ubuntu-latest=catthehacker/ubuntu:act-latest ``` + Workflows live in `.github/workflows/`, not `.gitea/workflows/`, so that `act` + finds them with no `-W`. Gitea Actions reads both locations; keep only this one, + or a run fires twice. + - **Do not commit or push.** Leave changes in the working tree and wait to be asked. - **Do not mention AI tools in commit messages or documentation.**