From c9715a34d55c12a609346051d0d22a85110c2132 Mon Sep 17 00:00:00 2001 From: Cristhian Date: Tue, 15 Sep 2026 06:14:00 -0300 Subject: [PATCH] move the workflow to .github/workflows act looks in .github/workflows by default, and running it locally before a commit is one of this repository's rules; keeping the workflow where act cannot see it meant every invocation needed -W. Gitea Actions reads both locations, so only one of them may exist or a push fires the run twice. --- {.gitea => .github}/workflows/validate.yml | 0 AGENTS.md | 12 +++++++----- 2 files changed, 7 insertions(+), 5 deletions(-) rename {.gitea => .github}/workflows/validate.yml (100%) 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 68886b5..2b03ccc 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. A node's `build:` is `uv pip install .`, so dataflows must be run @@ -14,13 +14,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.**