hramos / needs-attention

A GitHub Action for managing issues that require attention.
MIT License
13 stars 3 forks source link

Remove dependency on actions/checkout@v2 #4

Open alexyorke opened 3 years ago

alexyorke commented 3 years ago

Is your feature request related to a problem? Please describe. This action uses actions/checkout@v2 as part of its example and for this repository's workflow, but I can't find any references to this action or its outputs. If the repository is large, it can take several seconds to clone the repository and then it is discarded.

Describe the solution you'd like I removed the dependency on actions/checkout@v2 in my test repo and it still functioned exactly as intended, and the action was even faster--almost instantaneous.

Describe alternatives you've considered The other alternative would be to clone the repository but do a shallow checkout or just enough of a checkout to get any tokens or context-specific info needed. I can't find any reference to the code or git state inside of the cloned repository, however.

Additional context N/A