Skip to content

Commit

Permalink
chore: add comments in CI about || true (#8336)
Browse files Browse the repository at this point in the history
Co-authored-by: Scott Morrison <scott.morrison@gmail.com>
  • Loading branch information
2 people authored and grunweg committed Dec 15, 2023
1 parent 35f15cb commit 7a8021e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/nightly_bump_toolchain.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,4 +31,4 @@ jobs:
git config user.email "leanprover-community-mathlib4-bot@users.noreply.github.com"
git add lean-toolchain
git commit -m "chore: bump to ${RELEASE_TAG}"
git push origin nightly-testing || true
git push origin nightly-testing
4 changes: 3 additions & 1 deletion .github/workflows/nightly_merge_master.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,9 @@ jobs:
- name: Merge master to nightly favoring nightly changes
run: |
git checkout nightly-testing
# If the merge goes badly, we proceed anyway via '|| true'
# CI will report failures on the 'nightly-testing' branch direct to Zulip.
git merge master --strategy-option ours --no-commit --allow-unrelated-histories || true
git add .
git commit -m "Merge master into nightly-testing"
git push origin nightly-testing || true
git push origin nightly-testing

0 comments on commit 7a8021e

Please sign in to comment.