[PATCH 03/11] multipath-tools: github abi workflow: don't fail on reference branch

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



From: Martin Wilck <mwilck@xxxxxxxx>

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@xxxxxxxx>
---
 .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


--
dm-devel mailing list
dm-devel@xxxxxxxxxx
https://listman.redhat.com/mailman/listinfo/dm-devel




[Index of Archives]     [DM Crypt]     [Fedora Desktop]     [ATA RAID]     [Fedora Marketing]     [Fedora Packaging]     [Fedora SELinux]     [Yosemite Discussion]     [KDE Users]     [Fedora Docs]

  Powered by Linux