2021-11-15 06:49:04 +00:00
|
|
|
# retest-action
|
|
|
|
|
|
|
|
This is a github action built using the golang and the [github
|
2023-06-02 07:54:16 +00:00
|
|
|
api](https://github.com/google/go-github). The main idea behind this one is to retest
|
2021-11-15 06:49:04 +00:00
|
|
|
the failed tests on the approved PR's to avoid burden on the
|
|
|
|
maintainer's/author's to retest all the failed tests.
|
|
|
|
|
|
|
|
* List the pull requests from the github organization.
|
|
|
|
* Check PR is open and have required approvals.
|
2023-06-02 07:54:16 +00:00
|
|
|
* Check PR has the required label to continue to retest.
|
2021-11-15 06:49:04 +00:00
|
|
|
* Pulls the failed test details.
|
|
|
|
* Check failed test has reached the maximum limit.
|
2023-06-02 07:54:16 +00:00
|
|
|
* If the limit has not reached, the action will post the `retest` command on the
|
2021-11-15 06:49:04 +00:00
|
|
|
PR with log location for further debugging.
|
2023-06-02 07:54:16 +00:00
|
|
|
* If the limit has reached, the Pull Request will be skipped.
|