Skip to content

Latest commit

 

History

History

check-jobs-status

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 

Check Jobs Status action

Check the result of all the jobs parsed as input to jobs (JSON object from needs context). If any job's result is a failure, this job will also fail.

Documentation

Inputs

Input Description Required Default
jobs A list of jobs from the needs context. true null
summary_print Print jobs status to GitHub Step Summary false "false"

Usage

name: Action
on: push
jobs:
  check-jobs:
    name: Check Jobs
    runs-on: ubuntu-latest
    if: always()
    needs:
      - job-1
      - job-2
      - job-3
    steps:
      - name: Check Jobs
        id: check_jobs
        uses: stacks-network/actions/check-jobs-status@main
        with:
          jobs: ${{ toJson(needs) }}
          summary_print: "true"