|
97 | 97 | --flow ${{ inputs.FLOW_NAME }} |
98 | 98 | --trail ${{ inputs.TRAIL_NAME }} |
99 | 99 | --org ${{ inputs.KOSLI_ORG }} |
100 | | - --compliant=${{ steps.lint.outcome == 'success' }} |
101 | | - |
102 | | - - name: Slack Notification on Failure |
103 | | - if: ${{ failure() }} |
104 | | - uses: rtCamp/action-slack-notify@v2 |
105 | | - env: |
106 | | - SLACK_CHANNEL: ${{ secrets.slack_channel }} |
107 | | - SLACK_COLOR: ${{ job.status }} |
108 | | - SLACK_TITLE: Lint Failed in CLI repository |
109 | | - SLACK_USERNAME: GithubActions |
110 | | - SLACK_WEBHOOK: ${{ secrets.slack_webhook }} |
| 100 | + --compliant=${{ steps.lint.outcome == 'success' }} |
111 | 101 |
|
112 | 102 | test: |
113 | 103 | name: Test |
@@ -176,16 +166,6 @@ jobs: |
176 | 166 | if: ${{ inputs.report_results }} |
177 | 167 | uses: codecov/codecov-action@v4 |
178 | 168 |
|
179 | | - - name: Slack Notification on Failure |
180 | | - if: ${{ failure() }} |
181 | | - uses: rtCamp/action-slack-notify@v2 |
182 | | - env: |
183 | | - SLACK_CHANNEL: ${{ secrets.slack_channel }} |
184 | | - SLACK_COLOR: ${{ job.status }} |
185 | | - SLACK_TITLE: Test Failed in CLI repository |
186 | | - SLACK_USERNAME: GithubActions |
187 | | - SLACK_WEBHOOK: ${{ secrets.slack_webhook }} |
188 | | - |
189 | 169 | snyk-code-test: |
190 | 170 | if: ${{ inputs.run_snyk }} |
191 | 171 | name: Snyk Code Test |
@@ -222,16 +202,6 @@ jobs: |
222 | 202 | # --trail ${{ inputs.TRAIL_NAME }} |
223 | 203 | # --scan-results snyk-code.json |
224 | 204 | # --org ${{ inputs.KOSLI_ORG }} |
225 | | - |
226 | | - # - name: Slack Notification on Failure |
227 | | - # if: ${{ failure() }} |
228 | | - # uses: rtCamp/action-slack-notify@v2 |
229 | | - # env: |
230 | | - # SLACK_CHANNEL: ${{ secrets.slack_channel }} |
231 | | - # SLACK_COLOR: ${{ job.status }} |
232 | | - # SLACK_TITLE: Snyk Code Failed in CLI repository |
233 | | - # SLACK_USERNAME: GithubActions |
234 | | - # SLACK_WEBHOOK: ${{ secrets.slack_webhook }} |
235 | 205 |
|
236 | 206 | snyk-dependency-test: |
237 | 207 | if: ${{ inputs.run_snyk }} |
@@ -269,13 +239,4 @@ jobs: |
269 | 239 | # --trail ${{ inputs.TRAIL_NAME }} |
270 | 240 | # --scan-results snyk-dependency.json |
271 | 241 | # --org ${{ inputs.KOSLI_ORG }} |
272 | | - |
273 | | - # - name: Slack Notification on Failure |
274 | | - # if: ${{ failure() }} |
275 | | - # uses: rtCamp/action-slack-notify@v2 |
276 | | - # env: |
277 | | - # SLACK_CHANNEL: ${{ secrets.slack_channel }} |
278 | | - # SLACK_COLOR: ${{ job.status }} |
279 | | - # SLACK_TITLE: Snyk Test Failed in CLI repository |
280 | | - # SLACK_USERNAME: GithubActions |
281 | | - # SLACK_WEBHOOK: ${{ secrets.slack_webhook }} |
| 242 | + |
0 commit comments