-
Notifications
You must be signed in to change notification settings - Fork 61
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
6 additions
and
8 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,5 @@ | ||
# Wait On Check Action | ||
|
||
![RSpec Tests][rspec_shield] | ||
|
||
Pause a workflow until a job in another workflow completes successfully. | ||
|
||
This action uses the [Checks API][checks_api] to poll for check results. On success, the action exit allowing the workflow resume. Otherwise, the action will exit with status code 1 and fail the whole workflow. | ||
|
@@ -36,7 +34,7 @@ jobs: | |
runs-on: ubuntu-latest | ||
steps: | ||
- name: Wait for tests to succeed | ||
uses: lewagon/[email protected].1 | ||
uses: lewagon/[email protected].4 | ||
with: | ||
ref: ${{ github.ref }} | ||
check-name: 'Run tests' | ||
|
@@ -60,7 +58,7 @@ jobs: | |
runs-on: ubuntu-latest | ||
steps: | ||
- name: Wait for tests to succeed | ||
uses: lewagon/[email protected].1 | ||
uses: lewagon/[email protected].4 | ||
with: | ||
ref: ${{ github.ref }} | ||
check-name: 'Run tests' | ||
|
@@ -127,7 +125,7 @@ jobs: | |
- uses: actions/checkout@v2 | ||
- name: Wait for tests to succeed | ||
uses: lewagon/[email protected].1 | ||
uses: lewagon/[email protected].4 | ||
with: | ||
ref: master | ||
check-name: test | ||
|
@@ -211,7 +209,7 @@ jobs: | |
runs-on: ubuntu-latest | ||
steps: | ||
- name: Wait for other checks to succeed | ||
uses: lewagon/[email protected].1 | ||
uses: lewagon/[email protected].4 | ||
with: | ||
ref: ${{ github.ref }} | ||
running-workflow-name: 'Publish the package' | ||
|
@@ -244,7 +242,7 @@ jobs: | |
runs-on: ubuntu-latest | ||
steps: | ||
- name: Wait for Other Workflows | ||
uses: lewagon/[email protected].1 | ||
uses: lewagon/[email protected].4 | ||
with: | ||
ref: ${{ github.ref }} | ||
running-workflow-name: 'caller / callee' | ||
|
@@ -267,7 +265,7 @@ jobs: | |
runs-on: ubuntu-latest | ||
steps: | ||
- name: Wait for tests to succeed | ||
uses: lewagon/[email protected].1 | ||
uses: lewagon/[email protected].4 | ||
with: | ||
ref: ${{ github.ref }} | ||
check-name: 'Run tests' | ||
|