Skip to content

Commit

Permalink
Merge pull request activepieces#1796 from activepieces/chore/github-a…
Browse files Browse the repository at this point in the history
…ctions-notifications-on-discord

chore(ci): update discord notifications
  • Loading branch information
khaledmashaly authored Aug 1, 2023
2 parents e15f35d + 8b24fe0 commit a6acad0
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/discord-notifications.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ on:
- "Release Pieces"
- "build-cloud-nx"
types: [completed]
branches: [main, chore/github-actions-notifications-on-discord]
branches: [main]

jobs:
on-success:
Expand All @@ -19,9 +19,8 @@ jobs:
-d '{
"embeds": [
{
"title": "oss build success -
${{ github.event.workflow_run.head_commit.message }} -
${{ github.event.workflow_run.name }} #${{ github.event.workflow_run.run_number }}",
"title": "${{ github.event.repository.name }} build success - ${{ github.event.workflow_run.name }} #${{ github.event.workflow_run.run_number }}",
"description": "${{ github.event.workflow_run.head_commit.message }}"
"url": "${{ github.event.workflow_run.html_url }}",
"color": 39236
}
Expand All @@ -39,7 +38,8 @@ jobs:
-d '{
"embeds": [
{
"title": "oss build failure - ${{ github.event.workflow_run.name }} #${{ github.event.workflow_run.run_number }}",
"title": "${{ github.event.repository.name }} build failure - ${{ github.event.workflow_run.name }} #${{ github.event.workflow_run.run_number }}",
"description": "${{ github.event.workflow_run.head_commit.message }}"
"url": "${{ github.event.workflow_run.html_url }}",
"color": 13565967
}
Expand Down

0 comments on commit a6acad0

Please sign in to comment.