Skip to content
on:
push:
branches:
- vhlushchenko/GROK-15351-github-notification
jobs:
# job1:
# runs-on: ubuntu-latest
# steps:
# - name: Slack Failed Build Notification
# id: fall
# run: eco 123 asd asd sad
# - name: Slack Failed Build Notification
# uses: act10ns/[email protected]
# with:
# status: ${{ job.status }}
# steps: ${{ toJson(steps) }}
# config: ".github/config/slack.yml"
test-job:
if: always()
# needs: job1
runs-on: ubuntu-latest
steps:
- name: Checkout Repository
id: checkout
uses: actions/checkout@v3
- uses: technote-space/workflow-conclusion-action@v3
- name: test
id: test
run: eho $GITHUB_ACTION
- name: Slack Failed Build Notification
uses: act10ns/[email protected]
with:
status: ${{ job.status }}
steps: ${{ toJson(steps) }}
# matrix: ${{ toJson(matrix) }}
config: ".github/config/slack.yml"
webhook-url: ${{ secrets.SLACK_WEBHOOK_TEST_VLAD }}
# uses: rtCamp/[email protected]
# env:
# SLACK_ICON_EMOJI: ':ship:'
# SLACK_USERNAME: BOT
# # SLACK_CHANNEL: githubactions
# SLACK_COLOR: 'danger'
# SLACK_FOOTER: "Slack message footer."
# SLACK_CUSTOM_PAYLOAD: '{"type": "context","elements":[{"type": "mrkdwn", "text": "Hello world"}'
# SLACK_MESSAGE: "Test results are empty. Probably it was caused by timeout. Check the job output for more information"
# SLACK_TITLE: "GitHub <${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}|${{ github.workflow }} ${{ github.run_number }}> failed tests:"
# SLACK_WEBHOOK: ${{ secrets.SLACK_WEBHOOK_TEST_VLAD }}
# uses: datagrok-ai/public/.github/workflows/slack_notification.yml@vhlushchenko/GROK-15351-github-notification
# secrets: inherit
# with:
# slack_header: "GitHub <${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}|${{ github.workflow }} ${{ github.run_number }}> failed tests:"
# slack_context: true
# slack_message_body: "Test results are empty. Probably it was caused by timeout. Check the job output for more information"