tldr/scripts
Jamie Magee 34f8c610df
Checkout all branches in GitHub Actions (#4437)
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.
2020-10-05 16:23:08 +01:00
..
pdf Harmonize project name (lowercase tldr, no semicolon, hyphen-separated) 2020-05-27 22:22:32 +02:00
build-index.js Correctly store language and platform mappings together (#3588) 2019-11-19 18:58:23 +01:00
build.sh Update Travis references in scripts 2020-06-26 18:55:59 +02:00
check-pr.sh Checkout all branches in GitHub Actions (#4437) 2020-10-05 16:23:08 +01:00
deploy.sh Resolve deploy key from secrets 2020-06-26 18:55:59 +02:00
id_ed25519_tldr_asset_upload.enc [Security]: Moving to a secure way of uploading assets (#2747) 2019-02-03 14:57:35 +01:00
send-to-bot.py Update scripts to use PULL_REQUEST_ID 2020-06-26 18:55:59 +02:00
test.sh Fix PULL_REQUEST_ID reference when not set 2020-06-26 18:55:59 +02:00