Fix conditional in repoconfig package CI job.
Austin S. Hemmelgarn committed
Aug 11, 2021 at 08:55 UTC
bb76702c15973838d70a4bb33792754ecd643133
1 file changed
+4
-1
.github/workflows/repoconfig-packages.yml
+4
-1
@@ -64,7 +64,6 @@ jobs:
64
.github/scripts/package_cloud_wrapper.sh push ${{ secrets.PACKAGE_CLOUD_REPO }}-repoconfig/${{ matrix.pkgclouddistro }} ${pkgfile}
65
done
66
- name: Failure Notification
67
- if: contains(github.event.input.distros, join([matrix.distro, matrix.version], '-')) || github.event.input.distros == 'all'
67
uses: rtCamp/action-slack-notify@v2
68
env:
69
SLACK_COLOR: 'danger'
@@ -79,4 +78,8 @@ jobs:
78
failure()
79
&& github.event_name != 'pull_request'
80
&& startsWith(github.ref, 'refs/heads/master')
81
+ && (
82
+ contains(github.event.input.distros, join([matrix.distro, matrix.version], '-'))
83
+ || github.event.input.distros == 'all'
84
+ )
85
}}