aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorValentin Gagarin <valentin.gagarin@tweag.io>2023-02-08 01:22:23 +0100
committerGitHub <noreply@github.com>2023-02-08 01:22:23 +0100
commitec788964e91e0bf17eae5aac6b5dc0ab79c18c11 (patch)
tree9035b0ff70491b2d8942aa3da887081ac40d4709
parentc1921514d4f70921a30aa5414bb379c1d5710d1c (diff)
parent40d8955b8977c19de5cf837a2711621b84b7375b (diff)
Merge pull request #7626 from hercules-ci/issue-7623
-rw-r--r--maintainers/backporting.md12
1 files changed, 12 insertions, 0 deletions
diff --git a/maintainers/backporting.md b/maintainers/backporting.md
new file mode 100644
index 000000000..2424050c8
--- /dev/null
+++ b/maintainers/backporting.md
@@ -0,0 +1,12 @@
+
+# Backporting
+
+To [automatically backport a pull request](https://github.com/NixOS/nix/blob/master/.github/workflows/backport.yml) to a release branch once it's merged, assign it a label of the form [`backport <branch>`](https://github.com/NixOS/nix/labels?q=backport).
+
+Since [GitHub Actions workflows will not trigger other workflows](https://docs.github.com/en/actions/using-workflows/triggering-a-workflow#triggering-a-workflow-from-a-workflow), checks on the automatic backport need to be triggered by another actor.
+This is achieved by closing and reopening the backport pull request.
+
+This specifically affects the [`installer_test`] check.
+Note that it only runs after the other tests, so it may take a while to appear.
+
+[`installer_test`]: https://github.com/NixOS/nix/blob/895dfc656a21f6252ddf48df0d1f215effa04ecb/.github/workflows/ci.yml#L70-L91