]> git.ipfire.org Git - thirdparty/git.git/commitdiff
ci: fix indentation of the `ci-config` job
authorJohannes Schindelin <johannes.schindelin@gmx.de>
Tue, 1 Sep 2020 20:19:26 +0000 (20:19 +0000)
committerJunio C Hamano <gitster@pobox.com>
Wed, 2 Sep 2020 19:21:41 +0000 (12:21 -0700)
The section added in e76eec35540f (ci: allow per-branch config for
GitHub Actions, 2020-05-07) contains a `&&`-chain that connects several
commands. The first command is actually so long that it stretches over
multiple lines, and as per usual, the continuation lines are indented one
more level than the first.

However, the subsequent commands in the `&&`-chain were also indented
one more level than the first command, which was almost certainly
unintended.

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
Acked-by: Jeff King <peff@peff.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
.github/workflows/main.yml

index 30425404eb3fb8bc66ebf2c16803763f5d1247d0..6fd1d1a2c806b7082b9d230efd2c439d5ba6f428 100644 (file)
@@ -23,8 +23,8 @@ jobs:
             --filter=blob:none \
             https://github.com/${{ github.repository }} \
             config-repo &&
-            cd config-repo &&
-            git checkout HEAD -- ci/config
+          cd config-repo &&
+          git checkout HEAD -- ci/config
       - id: check-ref
         name: check whether CI is enabled for ref
         run: |