Pular para o conteúdo
EN · PT

anchors pr-body

Write the lines linking this work’s cards, in the platform’s syntax.

Prints the link lines for the PR body.
LINKS without closing: the card advances to 'ready-to-test' and stays OPEN, because
the pipeline continues in the CD ('in-test', 'ready-to-release', 'production') and
Anchors does not track those columns. Whoever closes the card is whoever finishes
the pipeline.
The link is declared in the Anchors vocabulary: the card you took
('anchors-owner:') and the findings born under it ('anchors:under-<n>'). The
platform keyword is GENERATED from that.
You do not need to know that GitHub only accepts those words in English — and in a
project written in another language, that is exactly what gets wrong in silence: the
PR merges and the card links to nothing.
anchors pr-body --cards 44 # the card and everything born under it
anchors pr-body # discovers it through ANCHORS_AGENT
Terminal window
anchors pr-body [flags]
Flag Padrão O que faz
--cards card number(s), comma-separated
--root . project root
--so-sob only the findings born under the given cards, not the cards themselves

Comandos da mesma família — o que distingue cada um:

Comando O que faz
anchors changelog Build the technical changelog from the commits, release by release
anchors commit-msg Confront the commit message with the format the changelog will read
anchors pr-body Write the lines linking this work’s cards, in the platform’s syntax
anchors backfill-labels Write into open issues the links the new version began to mark
anchors report Generate reports in docs/ by perspective (cuts of what Anchors measures)