mirror of
https://github.com/tldr-pages/tldr.git
synced 2024-11-11 06:16:53 +03:00
34f8c610df
By default actions/checkout@v2 only checks out the latest commit of the current branch. Unfortunately, this causes the `git diff` check in `check-pr.sh` to fail, as `master` branch isn't available`. This change checks out all commits of all branches, which allows `git diff` to work correctly. Ideally, I'd like to use the `ref` setting of actions/checkout@v2, but that only supports a single ref so it's not possible to checkout the PR branch _and_ `master` branch at the same time. |
||
---|---|---|
.. | ||
build-index.js | ||
build.sh | ||
check-pr.sh | ||
deploy.sh | ||
id_ed25519_tldr_asset_upload.enc | ||
send-to-bot.py | ||
test.sh |