This repository has been archived by the owner on Aug 10, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 9
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
Surya Teja
authored
Sep 28, 2019
1 parent
3796025
commit f85d33f
Showing
5 changed files
with
83 additions
and
21 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
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 |
---|---|---|
|
@@ -22,12 +22,13 @@ A Github Action that tests the deployment status of a Heroku Review App. | |
|
||
steps: | ||
- name: Run review-app test | ||
uses: niteoweb/[email protected].1 | ||
uses: niteoweb/[email protected].2 | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
with: | ||
interval: 10 # in seconds, optional, default is 10 | ||
accepted_responses: 200 # comma separated status codes, optional, default is 200 | ||
deployments_timeout: 120 # in seconds, optional, default is 120 | ||
``` | ||
> Note: Work flow should include `pull_request` event. | ||
|
@@ -40,6 +41,7 @@ A Github Action that tests the deployment status of a Heroku Review App. | |
|---|---|---| | ||
| interval | Wait for this amount of seconds before retrying the build check | 10 | | ||
| accepted_responses | Allow/Accept the specified status codes | 200 | | ||
| deployments_timeout | Maximum waiting time (in seconds) to fetch the deployments | 120 | | ||
|
||
## Local Development | ||
* Create a Python virtual environment(version > 3.6). | ||
|
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
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
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