summaryrefslogtreecommitdiff
path: root/.github
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2020-08-31 22:49:46 (GMT)
committerJunio C Hamano <gitster@pobox.com>2020-08-31 22:49:46 (GMT)
commit1a753720c3c416ed53e985ace9f8f1232118c516 (patch)
tree01c540d4e5916243e378ee95965fb83a7d2a10ce /.github
parentd9cd4331470f4d9d78677f12dc79063dab832f53 (diff)
parent055747cd75c0904cc8122e5c12bd45e9f4743c30 (diff)
downloadgit-1a753720c3c416ed53e985ace9f8f1232118c516.zip
git-1a753720c3c416ed53e985ace9f8f1232118c516.tar.gz
git-1a753720c3c416ed53e985ace9f8f1232118c516.tar.bz2
Merge branch 'am/ci-wsfix'
Aesthetic fix to a CI configuration file. * am/ci-wsfix: ci: fix inconsistent indentation
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/main.yml56
1 files changed, 28 insertions, 28 deletions
diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml
index 44e0fe5..3042540 100644
--- a/.github/workflows/main.yml
+++ b/.github/workflows/main.yml
@@ -7,34 +7,34 @@ env:
jobs:
ci-config:
- runs-on: ubuntu-latest
- outputs:
- enabled: ${{ steps.check-ref.outputs.enabled }}
- steps:
- - name: try to clone ci-config branch
- continue-on-error: true
- run: |
- git -c protocol.version=2 clone \
- --no-tags \
- --single-branch \
- -b ci-config \
- --depth 1 \
- --no-checkout \
- --filter=blob:none \
- https://github.com/${{ github.repository }} \
- config-repo &&
- cd config-repo &&
- git checkout HEAD -- ci/config
- - id: check-ref
- name: check whether CI is enabled for ref
- run: |
- enabled=yes
- if test -x config-repo/ci/config/allow-ref &&
- ! config-repo/ci/config/allow-ref '${{ github.ref }}'
- then
- enabled=no
- fi
- echo "::set-output name=enabled::$enabled"
+ runs-on: ubuntu-latest
+ outputs:
+ enabled: ${{ steps.check-ref.outputs.enabled }}
+ steps:
+ - name: try to clone ci-config branch
+ continue-on-error: true
+ run: |
+ git -c protocol.version=2 clone \
+ --no-tags \
+ --single-branch \
+ -b ci-config \
+ --depth 1 \
+ --no-checkout \
+ --filter=blob:none \
+ https://github.com/${{ github.repository }} \
+ config-repo &&
+ cd config-repo &&
+ git checkout HEAD -- ci/config
+ - id: check-ref
+ name: check whether CI is enabled for ref
+ run: |
+ enabled=yes
+ if test -x config-repo/ci/config/allow-ref &&
+ ! config-repo/ci/config/allow-ref '${{ github.ref }}'
+ then
+ enabled=no
+ fi
+ echo "::set-output name=enabled::$enabled"
windows-build:
needs: ci-config