mirror of
https://github.com/hwchase17/langchain.git
synced 2025-07-21 20:13:39 +00:00
infra: ci failure job (#17989)
This commit is contained in:
parent
e045655657
commit
8dda7c32ba
15
.github/workflows/check_diffs.yml
vendored
15
.github/workflows/check_diffs.yml
vendored
@ -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
|
||||
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user