From 61543e137bb14940b24e5ed6cf4420f3b291e069 Mon Sep 17 00:00:00 2001 From: Peter Nied Date: Tue, 17 Oct 2023 09:43:47 -0500 Subject: [PATCH] Allow for continue on failure for negitive test cases Signed-off-by: Peter Nied --- .github/workflows/test.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 7e5c4c7..517cbfc 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -43,12 +43,13 @@ jobs: - uses: actions/checkout@v4 - id: approved-by-maintainers + continue-on-error: true uses: ./ # Use the action with: token: ${{ secrets.GITHUB_TOKEN }} maintainers: peternied min-required: 1 - mock-approvers: '' + mock-approvers: ' ' - if: steps.approved-by-maintainers.outcome != 'failure' || steps.approved-by-maintainers.outputs.maintainer-approvals != '' run: echo "Unexpected outcome:${{ steps.approved-by-maintainers.outcome }} or maintainer-approvals:${{steps.approved-by-maintainers.outputs.maintainer-approvals}}" @@ -59,6 +60,7 @@ jobs: - uses: actions/checkout@v4 - id: approved-by-maintainers + continue-on-error: true uses: ./ # Use the action with: token: ${{ secrets.GITHUB_TOKEN }} @@ -77,6 +79,7 @@ jobs: - id: approved-by-maintainers uses: ./ # Use the action with: + continue-on-error: true token: ${{ secrets.GITHUB_TOKEN }} maintainers: 'peternied greengiant' min-required: 2