D
dblock/already-tested
Skip duplicate CI tests using trusted, content-matched claims in pull request descriptions
View on GitHub ↗Link checked 2026-11-12 · HTTP 200 · opens the vendor's own site
- Star count
- 0 ★ · dblock/already-tested · read from the repository page · (checked 2026-11-13 20:00:50)
- Source
- read directly from its GitHub page · type: open-source project
- Harvest history
- first seen 2026-11-12 · last seen 2026-11-14 · seen 3× · listed by 2 sources
- Score
- score 203 · 2 sources · repo
FAQ (answers come from our records)
Who is it for?
We filed it under these tags: 开源项目. The tags come from the entry itself, not a taxonomy we imposed.
Who maintains it?
repository
dblock/already-tested;first catalogued 2026-11-12;last seen 2026-11-14。There is no official certification or quality rating here — we record sources and dates only.# already-tested
以下摘录自该仓库的 README(片段) · 在 GitHub 读完整 README →
Skip duplicate CI tests when a trusted local run matches the committed source and workflow. Claims are not proof that tests ran.
Use your project's existing checks, in any language.
## Install
Git 2.29+ is required. Until standalone distribution is available, install the unreleased CLI from source using Node.js 24.x or 26+ and npm:
sh
git clone https://github.com/dblock/already-tested.git ../already-tested
npm install --global --ignore-scripts ../already-tested
This installs already-tested on your PATH, outside your project's dependencies. Node/npm are current installation details; the command stays the same with a future binary.
## Configure CI
Add the gate before setup and tests in .github/workflows/test.yml. Here ./script/ci stands for your project's existing CI command:
yaml
name: Test
on:
push:
pull_request:
types: [opened, synchronize, reopened, edited]
permissions:
contents: read
jobs:
test:
runs-on: ubuntu-latest
steps:
uses: actions/checkout@v7.0.1
with:
fetch-depth: 2
persist-credentials: false
uses: dblock/already-tested@master
id: tested
with:
check: test-linux
if: steps.tested.outputs.skip != 'true'
run: ./script/ci
Apply the same condition to your language's setup/install steps. The Action's runtime is provided by GitHub; it needs no setup-node step. Use a distinct check per job or matrix environment and pin a reviewed Action commit for production.
Missing, stale, or invalid claims run CI normally; pushes always run CI. A match skips the conditioned steps, not the workflow or its required check.
## Claim a Local Run
For the example above, use the matching Linux environment and replace the environment placeholder with the toolchain versions and OS you actually validated:
1. Run ./script/ci.
2. Commit the tested source without further edits.
3. Generate the claim:
sh
already-tested claim --workflow .github/workflows/test.yml --check test-linux \
--command './script/ci' --environment ' '
Paste the entire output into the PR description. It shows expandable validation details and hides the machine-readable claim. Regenerate after source or workflow changes. The CLI records your command and environment; it does not run or verify them.
For agents, add to your project's AGENTS.md:
markdown
Run CI checks locally in their matching environments, commit the tested source, then generate claims with already-tested claim --workflow --check --command ' ' --environment ' '. Paste the complete output into the PR description. Regenerate after changes; never claim checks or environments you did not validate.
Use your project's existing checks, in any language.
## Install
Git 2.29+ is required. Until standalone distribution is available, install the unreleased CLI from source using Node.js 24.x or 26+ and npm:
sh
git clone https://github.com/dblock/already-tested.git ../already-tested
npm install --global --ignore-scripts ../already-tested
This installs already-tested on your PATH, outside your project's dependencies. Node/npm are current installation details; the command stays the same with a future binary.
## Configure CI
Add the gate before setup and tests in .github/workflows/test.yml. Here ./script/ci stands for your project's existing CI command:
yaml
name: Test
on:
push:
pull_request:
types: [opened, synchronize, reopened, edited]
permissions:
contents: read
jobs:
test:
runs-on: ubuntu-latest
steps:
uses: actions/checkout@v7.0.1
with:
fetch-depth: 2
persist-credentials: false
uses: dblock/already-tested@master
id: tested
with:
check: test-linux
if: steps.tested.outputs.skip != 'true'
run: ./script/ci
Apply the same condition to your language's setup/install steps. The Action's runtime is provided by GitHub; it needs no setup-node step. Use a distinct check per job or matrix environment and pin a reviewed Action commit for production.
Missing, stale, or invalid claims run CI normally; pushes always run CI. A match skips the conditioned steps, not the workflow or its required check.
## Claim a Local Run
For the example above, use the matching Linux environment and replace the environment placeholder with the toolchain versions and OS you actually validated:
1. Run ./script/ci.
2. Commit the tested source without further edits.
3. Generate the claim:
sh
already-tested claim --workflow .github/workflows/test.yml --check test-linux \
--command './script/ci' --environment ' '
Paste the entire output into the PR description. It shows expandable validation details and hides the machine-readable claim. Regenerate after source or workflow changes. The CLI records your command and environment; it does not run or verify them.
For agents, add to your project's AGENTS.md:
markdown
Run CI checks locally in their matching environments, commit the tested source, then generate claims with already-tested claim --workflow --check --command ' ' --environment ' '. Paste the complete output into the PR description. Regenerate after changes; never claim checks or environments you did not validate.
Listed badge (optional)
Copy this line into the README if you want the listing mark. Optional, and it does not affect being listed.
[](https://anclum.com/en/s/dblock-already-tested/)
- Source
- github · https://github.com/dblock/already-tested
- Browse by field
- Open source
- Listed by
- 2 independent sources
- added
- today
More like this
Filed under
Every tag opens the full list for that filter. Counts are the live catalogue figures.