Skip to content

Commit 26e3dd9

Browse files
authored
ci(dnf-check-versions): fix failure condition
1 parent aa1bf57 commit 26e3dd9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/dnf-check-versions.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,4 +17,4 @@ jobs:
1717
run: |
1818
set -euo pipefail
1919
IFS=$'\n\t'
20-
docker run --pull always -t --user root --entrypoint /bin/sh "leplusorg/${GITHUB_REPOSITORY#*/docker-}:main" -c 'if dnf upgrade -y | tee -a /dev/stderr | grep -q -v -e "^Nothing to do."; then exit 1; fi'
20+
docker run --pull always -t --user root --entrypoint /bin/sh "leplusorg/${GITHUB_REPOSITORY#*/docker-}:main" -c 'if ! dnf upgrade -y | tee -a /dev/stderr | grep -q -e "^Nothing to do."; then exit 1; fi'

0 commit comments

Comments
 (0)