Subject: Re: [PATCH v2] ci: allow per-branch config for GitHub Actions

From: Đoàn Trần Công Danh <[email-masked]>
Date: Sat, 9 May 2020 08:23:04 +0700

On 2020-05-08 14:00:47-0400, Jeff King <[email-masked]> wrote:
> I just noticed this needs a small fix to the sample script, which I gave
> the wrong name:
> 
> diff --git a/ci/config/allow-refs.sample b/ci/config/allow-ref.sample
> similarity index 93%
> rename from ci/config/allow-refs.sample
> rename to ci/config/allow-ref.sample
> index f157f1945a..c9c9aea9ff 100755
> --- a/ci/config/allow-refs.sample
> +++ b/ci/config/allow-ref.sample
> @@ -7,8 +7,8 @@
>  # your repository:
>  #
>  #   git checkout -b ci-config
> -#   cp allow-refs.sample allow-refs
> -#   $EDITOR allow-refs
> +#   cp allow-refs.sample allow-ref

Hi Peff,

The source needs to be changed, too:
---------------8<-------------
diff --git a/ci/config/allow-ref.sample b/ci/config/allow-ref.sample
index c9c9aea9ff..249872425f 100755
--- a/ci/config/allow-ref.sample
+++ b/ci/config/allow-ref.sample
@@ -7,7 +7,7 @@
 # your repository:
 #
 #   git checkout -b ci-config
-#   cp allow-refs.sample allow-ref
+#   cp allow-ref.sample allow-ref
 #   $EDITOR allow-ref
 #   git commit -am "implement my ci preferences"
 #   git push
--------------------8<------------------

-- 
Danh