Skip to content

Commit

Permalink
separate failures into channel specific uploads
Browse files Browse the repository at this point in the history
  • Loading branch information
btrautmann committed Sep 16, 2024
1 parent f281ac2 commit 2755a87
Showing 1 changed file with 15 additions and 12 deletions.
27 changes: 15 additions & 12 deletions .github/workflows/check_compat.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,9 @@ on:
# # Run daily at 00:00 UTC
# - cron: '0 0 * * *'
workflow_dispatch:
push:
branches:
- bt/compat-job

jobs:
build:
Expand All @@ -32,18 +35,18 @@ jobs:
if: failure()
uses: actions/upload-artifact@50769540e7f4bd5e21e526ee35c689e35e0d6874 # v4.4.0
with:
name: "golden_failures"
name: "golden_failures_${{ matrix.channel }}"
path: |
**/failures/**/*.png
- name: Notify failure
if: failure()
uses: slackapi/slack-github-action@37ebaef184d7626c5f204ab8d3baff4262dd30f0 #v1.27.0
with:
payload: |
{
"message": "Heads up! Alchemist compatibility check failed for ${{ matrix.channel }} channel.",
"job_url": "${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}"
}
env:
SLACK_WEBHOOK_URL: ${{ secrets.MOBILE_OSS_SLACK_WEBHOOK }}
# - name: Notify failure
# if: failure()
# uses: slackapi/slack-github-action@37ebaef184d7626c5f204ab8d3baff4262dd30f0 #v1.27.0
# with:
# payload: |
# {
# "message": "Heads up! Alchemist compatibility check failed for ${{ matrix.channel }} channel.",
# "job_url": "${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}"
# }
# env:
# SLACK_WEBHOOK_URL: ${{ secrets.MOBILE_OSS_SLACK_WEBHOOK }}

0 comments on commit 2755a87

Please sign in to comment.