R317 Pin the hosted Linux runners of CI to one set label

Off by default

Run each Linux runner that the CI service hosts on the label ubuntu-22.04, in a matrix too.

Reason

rule 212 pins the hosted Linux runners to a label that names a fixed release, and leaves the release to the rule set; this rule names the label. With one label in every workflow, the same change reaches the same conclusion in every repository (Art. VII §2). The value is a person’s own, the same in every repository they keep.

Verification

Self-hosted runners and runners of a system other than Linux are not covered. Moving to another label is a change of this value, which only whoever sets the value decides.

Violated when a CI workflow of the repository sets a Linux runner that the CI service hosts, a value in a matrix included, to a label other than ubuntu-22.04.

Provisions of the constitution it cites

Relations

Parent
R276 CI and Releases
Requires
R212 Pin the hosted Linux runners of CI to a fixed release
Conflicts with
none

Metadata

ID
317
Revision
1
Kind
rule
Status
trial
Slug
hosted-runner-label
Default level
project
Constitution revisions
>=1
Check
none
Default
off
Uses
Instructions instructions, Review review
Original language
English en
Translations
Chinese zh