[dm-devel] [PATCH 03/11] multipath-tools: github abi workflow: don't fail on reference branch
mwilck at suse.com
mwilck at suse.com
Thu Dec 2 16:06:44 UTC 2021
From: Martin Wilck <mwilck at suse.com>
The download action will always retreive the result of the
last successful workflow on the reference branch. If the
workflow has failed there (because of a difference to the
previous workflow), the results won't be used. Thus don't
fail on the reference branch, even if there are differences.
Signed-off-by: Martin Wilck <mwilck at suse.com>
---
.github/workflows/abi.yaml | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/.github/workflows/abi.yaml b/.github/workflows/abi.yaml
index 53f10d4..0a40104 100644
--- a/.github/workflows/abi.yaml
+++ b/.github/workflows/abi.yaml
@@ -50,5 +50,5 @@ jobs:
name: abi-test
path: abi-test
- name: fail
- if: ${{ steps.compare.outcome == 'failure' }}
+ if: ${{ env.ABI_BRANCH != github.ref_name && steps.compare.outcome == 'failure' }}
run: false
--
2.34.0
More information about the dm-devel
mailing list