Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
on: | |
push: | |
branches: | |
- vhlushchenko/GROK-15351-github-notification | |
jobs: | |
job1: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout Repository | |
id: checkout | |
uses: actions/checkout@v3 | |
- 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: Slack Failed Build Notification | |
uses: act10ns/[email protected] | |
with: | |
status: ${{ env.WORKFLOW_CONCLUSION }} | |
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" | |