Skip to content

Commit

Permalink
fix: do not include channel names
Browse files Browse the repository at this point in the history
  • Loading branch information
SMillerDev committed Dec 3, 2024
1 parent fc3ef43 commit a554ca5
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions .github/workflows/php-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -139,11 +139,11 @@ jobs:
if: ${{ github.repository_owner == 'move-backend' && github.ref_name == 'master' }}
name: "Report status"
steps:
- name: Post failure message to \#ams-backend

- name: Post build message
uses: slackapi/[email protected]
if: failure()
with:
webhook: ${{ secrets.SLACK_FAILURE_WEBHOOK_URL }}
webhook: ${{ secrets.SLACK_WEBHOOK_URL }}
webhook-type: incoming-webhook
payload: |
text: "*GitHub Action build result*: ${{ job.status }}\n${{ github.event.pull_request.html_url || github.event.head_commit.url }}"
Expand All @@ -153,10 +153,11 @@ jobs:
type: "mrkdwn"
text: "GitHub Action build result: ${{ job.status }}\n${{ github.event.pull_request.html_url || github.event.head_commit.url }}"
- name: Post failure message to \#ams-backend-build
- name: Post failure message
uses: slackapi/[email protected]
if: failure()
with:
webhook: ${{ secrets.SLACK_WEBHOOK_URL }}
webhook: ${{ secrets.SLACK_FAILURE_WEBHOOK_URL }}
webhook-type: incoming-webhook
payload: |
text: "*GitHub Action build result*: ${{ job.status }}\n${{ github.event.pull_request.html_url || github.event.head_commit.url }}"
Expand Down

0 comments on commit a554ca5

Please sign in to comment.