mirror of
https://github.com/git/git
synced 2024-08-27 19:49:21 +00:00
Merge branch 'js/ci-squelch-false-failure'
CI noise reduction. * js/ci-squelch-false-failure: ci: avoid ugly "failure" in the `ci-config` job ci: fix indentation of the `ci-config` job
This commit is contained in:
commit
7364aee138
5
.github/workflows/main.yml
vendored
5
.github/workflows/main.yml
vendored
|
@ -12,7 +12,6 @@ jobs:
|
|||
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 \
|
||||
|
@ -23,8 +22,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 || : ignore
|
||||
- id: check-ref
|
||||
name: check whether CI is enabled for ref
|
||||
run: |
|
||||
|
|
Loading…
Reference in a new issue