8000 PG-1486 Add ARM64 builds in CI and add Slack notifications by artemgavrilov · Pull Request #401 · percona/postgres · GitHub
[go: up one dir, main page]

Skip to content

PG-1486 Add ARM64 builds in CI and add Slack notifications #401

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Jun 24, 2025
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Add Slack notifications on failed CI
  • Loading branch information
artemgavrilov committed Jun 16, 2025
commit 732059189d3e4cb3cb22ed816c81f13849227e5e
21 changes: 21 additions & 0 deletions .github/workflows/matirx.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,3 +39,24 @@ jobs:
build_type: ${{ matrix.build_type }}
build_script: ${{ matrix.build_script }}
secrets: inherit

slack-notification:
if: ${{ failure() }} && github.event_name == 'push'
needs: [ main, arm ]
name: Slack Notification
runs-on: ubuntu-24.04
steps:
- name: Notify
uses: slackapi/slack-github-action@v2.1.0
with:
webhook: ${{ secrets.SLACK_WEBHOOK_URL }}
webhook-type: incoming-webhook
payload: |
blocks:
- type: "section"
text:
type: "mrkdwn"
text: "Workflow *${{ github.workflow }}* failed on branch *${{ github.head_ref }}*\n
Commit: <${{ github.server_url }}/${{ github.repository }}/commit/${{ github.sha }}|${{ github.sha }}>\n
\n
<${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}|View logs>"