@cryptotaxi247 / netdata-1 / commits / 8db7abee6

Really fix conditional in repoconfig packages CI.

Austin S. Hemmelgarn committed Aug 11, 2021 at 09:43 UTC 8db7abee60b15c651c4792289794d43b639ec189
1 file changed +1 -10
.github/workflows/repoconfig-packages.yml
+1 -10
@@ -64,6 +64,7 @@ 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: ${{ failure() }}
68 uses: rtCamp/action-slack-notify@v2
69 env:
70 SLACK_COLOR: 'danger'
@@ -73,13 +74,3 @@ jobs:
74 SLACK_USERNAME: 'GitHub Actions'
75 SLACK_MESSAGE: "${{ matrix.pkgclouddistro }} ${{ matrix.version }} repository package build failed."
76 SLACK_WEBHOOK: ${{ secrets.SLACK_WEBHOOK_URL }}
76 - if: >-
77 - ${{
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 - }}