Skip to content

Wait for other job

Actions
Simple action to wait for a specific job
v1.1.1
Latest
Star (4)

Wait for other job

Open Source Love version PRs Welcome test

This action provides a simple way to wait for a specific job (in current workflow) to complete.

Usage

- name: Wait 
  uses: NathanFirmo/wait-for-other-job@v1.1.1
  with:
    token: ${{ secrets.GITHUB_TOKEN }}
    job: 'job-name'

OBS.: If you get an error in private repos, use a Personal Access Token instead.

Required Inputs

The following inputs are required to use this action:

Input Description
token Your GitHub token. See more in GitHub Docs.
job Name of the job you wanna wait for.

Optional Inputs

These are the optional inputs for this action:

Input Description
failOnJobError If true, the action will fail case an error happen in the job you are waiting for.

Why use this action

This action can be useful you to decrease CI execution time helping to parallelize jobs like build, test and deployment.

Now

Wait for other job is not certified by GitHub. It is provided by a third-party and is governed by separate terms of service, privacy policy, and support documentation.

About

Simple action to wait for a specific job
v1.1.1
Latest

Wait for other job is not certified by GitHub. It is provided by a third-party and is governed by separate terms of service, privacy policy, and support documentation.