Skip to content

Commit

Permalink
Update 4.8.x-test.yml
Browse files Browse the repository at this point in the history
Removed Slack
  • Loading branch information
serbanghita authored Feb 12, 2024
1 parent f2fbb72 commit d180897
Showing 1 changed file with 0 additions and 17 deletions.
17 changes: 0 additions & 17 deletions .github/workflows/4.8.x-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -55,20 +55,3 @@ jobs:
- name: Run tests
run: XDEBUG_MODE=coverage && phpunit -v -c tests/phpunit.xml --coverage-text --strict-coverage --stop-on-risky
shell: bash

- name: Slack Notification
uses: 8398a7/action-slack@v3
with:
status: custom
fields: commit,repo,ref,author
custom_payload: |
{
attachments: [{
color: '${{ job.status }}' === 'success' ? 'good' : '${{ job.status }}' === 'failure' ? 'danger' : 'warning',
text: `${process.env.AS_AUTHOR} has pushed ${process.env.AS_COMMIT} in ${process.env.AS_REPO} with test status indicating ${{ job.status }}.`,
}]
}
env:
SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }}
MATRIX_CONTEXT: ${{ toJson(matrix) }}
if: always() # Pick up events even if the job fails or is canceled.

0 comments on commit d180897

Please sign in to comment.