You've already forked library-registry
mirror of
https://github.com/arduino/library-registry.git
synced 2025-07-29 14:01:15 +03:00
Add explanatory comment re: not using actions/checkout
We are accustomed to using the `actions/checkout` GitHub Action action in workflows whenever a repository needs to be installed into the runner. So it may be quite unexpected to see `git clone` used. In this case, it was necessary to do so in order to clone the library repository to run Arduino Lint on it because `actions/checkout` can only be used with GitHub repositories, whereas multiple major Git hosts are supported for submissions to Library Manager. This might not be obvious to those working on the workflow in the future, so it's worth leaving a comment to avoid confusion.
This commit is contained in:
1
.github/workflows/manage-prs.yml
vendored
1
.github/workflows/manage-prs.yml
vendored
@ -208,6 +208,7 @@ jobs:
|
||||
BINDIR="${{ env.ARDUINO_LINT_INSTALLATION_PATH }}" \
|
||||
sh
|
||||
|
||||
# actions/checkout can't be used because it only supports GitHub repos, while libraries may use other Git hosts
|
||||
- name: Clone submission
|
||||
run: |
|
||||
git clone \
|
||||
|
Reference in New Issue
Block a user