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
diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml
index 3042540..fcfd138 100644
--- a/.github/workflows/main.yml
+++ b/.github/workflows/main.yml
@@ -12,7 +12,6 @@
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 @@
--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: |