runs-on label in one place.
For a guide with more context, see The runs-on label.
Format
trunk=<run>— the anchor. Use${{ github.run_id }}-${{ github.run_attempt }}for<run>, so a job from a different workflow run cannot take this run’s runners...joins the options.- Each option is
key=value.
Options
Sizes
The memory columns are the values of thememory option.
Memory
The default
memory depends on size. With no size, the default is high, which
gives the default machine. With a
size, the default is standard.
Rules
- The order of the options does not matter.
- A key must not repeat.
- The
trunk=label must be the only label inruns-on. - A label that breaks one of these rules gets no runner. The job stays queued, and Trunk gives you no message.