ci: fix inconsistent indentation
While YAML allows different indentation styles as long as each block is consistent, it is rather unusual to mix different indentations in a single file. Adjust to use two-space indentation everywhere. Signed-off-by: Adrian Moennich <adrian@planetcoding.net> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Adrian Moennich committed
Aug 21, 2020 at 09:27 UTC
055747cd75c0904cc8122e5c12bd45e9f4743c30
1 file changed
+28
-28
.github/workflows/main.yml
+28
-28
@@ -7,34 +7,34 @@ env:
7
8
jobs:
9
ci-config:
10
- runs-on: ubuntu-latest
11
- outputs:
12
- enabled: ${{ steps.check-ref.outputs.enabled }}
13
- steps:
14
- - name: try to clone ci-config branch
15
- continue-on-error: true
16
- run: |
17
- git -c protocol.version=2 clone \
18
- --no-tags \
19
- --single-branch \
20
- -b ci-config \
21
- --depth 1 \
22
- --no-checkout \
23
- --filter=blob:none \
24
- https://github.com/${{ github.repository }} \
25
- config-repo &&
26
- cd config-repo &&
27
- git checkout HEAD -- ci/config
28
- - id: check-ref
29
- name: check whether CI is enabled for ref
30
- run: |
31
- enabled=yes
32
- if test -x config-repo/ci/config/allow-ref &&
33
- ! config-repo/ci/config/allow-ref '${{ github.ref }}'
34
- then
35
- enabled=no
36
- fi
37
- echo "::set-output name=enabled::$enabled"
10
+ runs-on: ubuntu-latest
11
+ outputs:
12
+ enabled: ${{ steps.check-ref.outputs.enabled }}
13
+ steps:
14
+ - name: try to clone ci-config branch
15
+ continue-on-error: true
16
+ run: |
17
+ git -c protocol.version=2 clone \
18
+ --no-tags \
19
+ --single-branch \
20
+ -b ci-config \
21
+ --depth 1 \
22
+ --no-checkout \
23
+ --filter=blob:none \
24
+ https://github.com/${{ github.repository }} \
25
+ config-repo &&
26
+ cd config-repo &&
27
+ git checkout HEAD -- ci/config
28
+ - id: check-ref
29
+ name: check whether CI is enabled for ref
30
+ run: |
31
+ enabled=yes
32
+ if test -x config-repo/ci/config/allow-ref &&
33
+ ! config-repo/ci/config/allow-ref '${{ github.ref }}'
34
+ then
35
+ enabled=no
36
+ fi
37
+ echo "::set-output name=enabled::$enabled"
38
39
windows-build:
40
needs: ci-config