git/list[1] front-page[2] threads[3] people[4] search[5] about
 

[PATCH] ci/config: correct instruction for CI preferences

From
Đoàn Trần Công Danh <congdanhqx@gmail.com>
Date
May 18, 2020, 14:52 UTC
Message-ID
<20200518145234.20424-1-congdanhqx@gmail.com>

From e76eec3554 (ci: allow per-branch config for GitHub Actions, 2020-05-07), we started to allow contributors decide which branch they want to build with GitHub Actions by checking for a file named "ci/config/allow-ref".

In order to assist those contributors, we provided a sample in "ci/config/allow-refs.sample", and instructed them to drop the ".sample", then commit that file to their repository.

We've misspelt the filename in that change. Let's fix the spelling.

While we're at it, also instruct our contributors introduce that new file to Git before commit, in case of they've never told Git before.

Signed-off-by: Đoàn Trần Công Danh <congdanhqx@gmail.com>
---

This is a merge from: <20200508180047.GD637136@coredump.intra.peff.net> <20200509012304.GB2111@danh.dev>

It's slipped over the crack.
Hence, it may need Peff's SoB.
Cc: Jeff King <peff@peff.net>
Cc: Junio C Hamano <gitster@pobox.com>
 ci/config/{allow-refs.sample => allow-ref.sample} | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)
 rename ci/config/{allow-refs.sample => allow-ref.sample} (91%)
diff --git a/ci/config/allow-refs.sample b/ci/config/allow-ref.sample
similarity index 91%
rename from ci/config/allow-refs.sample
rename to ci/config/allow-ref.sample
index f157f1945a..af0e076f8a 100755
--- a/ci/config/allow-refs.sample
+++ b/ci/config/allow-ref.sample
@@ -7,8 +7,9 @@
 # your repository:
 #
 #   git checkout -b ci-config
-#   cp allow-refs.sample allow-refs
-#   $EDITOR allow-refs
+#   cp allow-ref.sample allow-ref
+#   $EDITOR allow-ref
+#   git add allow-ref
 #   git commit -am "implement my ci preferences"
 #   git push
 #
-- 
2.26.2.672.g232c24e857
Next: Jeff King
Message 1 of 2 in “ci/config: correct instruction for CI preferences”
  1. ci/config: correct instruction for CI preferencesĐoàn Trần Công Danh, May 18, 2020
  2. Jeff KingMay 18, 2020

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.