Skip to content

Commit

Permalink
infra: ci failure job (langchain-ai#17989)
Browse files Browse the repository at this point in the history
  • Loading branch information
efriis authored and k8si committed Feb 23, 2024
1 parent 23da402 commit 9c90226
Showing 1 changed file with 8 additions and 7 deletions.
15 changes: 8 additions & 7 deletions .github/workflows/check_diffs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -126,22 +126,23 @@ jobs:
# grep will exit non-zero if the target message isn't found,
# and `set -e` above will cause the step to fail.
echo "$STATUS" | grep 'nothing to commit, working tree clean'
ci_end:
ci_success:
name: "CI Success"
needs: [build, lint, test, compile-integration-tests, dependencies, extended-tests]
if: ${{ always() }}
runs-on: ubuntu-latest
steps:
- name: "CI Success"
if: ${{ !failure() }}
run: |
echo "Success"
exit 0
# this one is just for visibility, where CI success step gets skipped
ci_failure:
name: "CI Failure"
needs: [build, lint, test, compile-integration-tests, dependencies, extended-tests]
if: ${{ !success() }}
runs-on: ubuntu-latest
steps:
- name: "CI Failure"
if: ${{ failure() }}
run: |
echo "Failure"
exit 1


0 comments on commit 9c90226

Please sign in to comment.