diff --git a/docs/repo-standards.md b/docs/repo-standards.md index 10018ef..d7205e6 100644 --- a/docs/repo-standards.md +++ b/docs/repo-standards.md @@ -119,7 +119,7 @@ Use only GitHub's default labels and labels added by Dependabot. - Every active repo with workflows or package files has `.github/dependabot.yml`: `github-actions` at `/`, plus one entry per package ecosystem at the folder of its manifest. - Each entry runs weekly, uses commit prefix `chore` with the scope, and has one group named after the ecosystem for minor and patch updates. Major updates are not grouped. - Ignore an update only when it can't be taken yet, with a comment saying why and when to remove it. -- Dependabot auto-merge is an `automerge` job in `ci.yml`, GitHub's documented pattern: it reads the update type with `dependabot/fetch-metadata`, never merges majors, and merges with `gh pr merge --squash --match-head-commit ` so a newer push can't merge untested. Its `needs:` lists every other job in the workflow, or it merges before they finish. +- Dependabot auto-merge is an `automerge` job in `ci.yml` that calls this repo's shared workflow, [`dependabot-auto-merge.yml`](../.github/workflows/dependabot-auto-merge.yml), pinned to a commit SHA: `uses: splitleafhq/.github/.github/workflows/dependabot-auto-merge.yml@`. The workflow follows GitHub's documented pattern: it reads the update type with `dependabot/fetch-metadata`, never merges majors, and merges with `gh pr merge --squash --match-head-commit ` so a newer push can't merge untested. The job's `needs:` lists every other job in the workflow, or it merges before they finish; the header of the shared workflow shows the full job. ## Exceptions