mirror of
https://github.com/ceph/ceph-csi.git
synced 2024-12-27 07:20:24 +00:00
4e8033b762
When a test fails, mergifyio kicks that pr out of queue. Retest action will now comment `@Mergifyio refresh` to add the pr back into queue, if any test has been restarted. This makes sure mergifyio rebases the pr automatically according to the queue. Signed-off-by: Rakshith R <rar@redhat.com> |
||
---|---|---|
.. | ||
vendor | ||
action.yaml | ||
Dockerfile | ||
go.mod | ||
go.sum | ||
main.go | ||
README.md |
retest-action
This is a github action built using the golang and the github api. The main idea behind this one is to retest 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.
- Check PR as the required label to continue to retest.
- Pulls the failed test details.
- Check failed test has reached the maximum limit.
- If the limit has not reached the action will post the
retest
command on the PR with log location for further debugging. - If the limit has reached the Pull Request will be skipped.