From e877adf8c60e28c9c2d27ebafc2084464842aa9a Mon Sep 17 00:00:00 2001 From: Paul Koch Date: Sat, 27 Jul 2024 10:53:09 -0700 Subject: [PATCH] test neutral --- .github/workflows/ci.yml | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 013a8feba..9fd1f6a63 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -506,3 +506,20 @@ jobs: cd python/interpret-core python -m pip install --upgrade black black --check . + - name: Mark step with a warning + if: failure() + uses: actions/github-script@v6 + with: + script: | + github.rest.checks.create({ + owner: context.repo.owner, + repo: context.repo.repo, + name: 'Warning: Step might have failed', + head_sha: context.sha, + status: 'completed', + conclusion: 'neutral', + output: { + title: 'Warning', + summary: 'The previous step failed but the workflow continued.' + } + })