-
Notifications
You must be signed in to change notification settings - Fork 62
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update README link placeholders and versioning Co-authored-by: Sébastien Saunier <[email protected]>
- Loading branch information
Showing
1 changed file
with
7 additions
and
4 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,8 +1,11 @@ | ||
# Wait On Check Action | ||
|
||
[![StandardRB](https://github.com/lewagon/wait-on-check-action/actions/workflows/standardrb-linter.yml/badge.svg)](https://github.com/lewagon/wait-on-check-action/actions/workflows/standardrb-linter.yml) | ||
[![RSpec tests](https://github.com/lewagon/wait-on-check-action/actions/workflows/run-tests.yml/badge.svg)](https://github.com/lewagon/wait-on-check-action/actions/workflows/run-tests.yml) | ||
|
||
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. | ||
This action uses the [Checks API](https://docs.github.com/en/rest/checks) 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. | ||
|
||
This is a workaround to GitHub's limitation of non-interdependent workflows :tada: | ||
|
||
|
@@ -122,7 +125,7 @@ jobs: | |
name: Deploy a new image | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- uses: actions/checkout@v4 | ||
- name: Wait for tests to succeed | ||
uses: lewagon/[email protected] | ||
|
@@ -290,7 +293,7 @@ jobs: | |
- uses: actions/checkout@v2 | ||
- name: Wait on tests | ||
uses: ./ | ||
uses: lewagon/[email protected] | ||
with: | ||
ref: ${{ github.sha }} | ||
repo-token: ${{ secrets.GITHUB_TOKEN }} | ||
|
@@ -312,7 +315,7 @@ jobs: | |
- uses: actions/checkout@v2 | ||
- name: Wait on tests | ||
uses: ./ | ||
uses: lewagon/[email protected] | ||
with: | ||
ref: ${{ github.sha }} | ||
repo-token: ${{ secrets.GITHUB_TOKEN }} | ||
|