actions / checkout

Action for checking out a repo

Home Page:https://github.com/features/actions

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Feat: Configurable retry count/interval

idubnori opened this issue · comments

My suggestion is the following should be configurable.

https://github.com/actions/checkout/blob/main/src/retry-helper.ts#L3-L5

Background / Purpose

If the repository does not exist, retry will be a waste of CI execution time.
e.g. Checkout GitHub Wiki repo but Wiki may not be existed if feature is disabled