Skip to content

ci: testing failed job #33

ci: testing failed job

ci: testing failed job #33

Workflow file for this run

---
name: Daily repo check
on:
push:
branches:
- master
- feat/check-repos
# schedule:
# - cron: "15 4,5 * * *"
jobs:
checking-repos:
runs-on: ubuntu-latest
strategy:
matrix:
repo: ${{ fromJson(vars.SCHEDULED_REPOS) }}
steps:
- name: Running workflow
id: running-workflow
uses: singnet/das-cicd@feat/failed-job
with:
workflow: ${{ matrix.repo.workflow_id }}
repo: ${{ matrix.repo.name }}
org: singnet
ref: fail-test
github-token: ${{ secrets.GH_TOKEN }}
- name: Send success notification
if: steps.running-workflow.outputs.conclusion == 'success'
run: "SUCCESS - CI workflow succeeded in repository ${{ matrix.repo.name }}"
- name: Send failure notification
if: steps.running-workflow.outputs.conclusion != 'success'
run: |-
FAILURE - CI workflow failed in repository ${{ matrix.repo.name }}
Details: ${{ fromJson(steps.running-workflow.outputs.failed_job).url }}
Failed job: ${{ fromJson(steps.running-workflow.outputs.failed_job).failed_at }}