internal/ci: test internal/e2e on protected branches
Only on Linux, since these end-to-end tests are slow,
and testing on different platforms or Go versions isn't useful.
Only on pushes to protected branches, since they use a github token
stored as the secret E2E_GITHUB_TOKEN, and we don't want to worry
about PR or CL trybot runs potentially leaking any secrets.
Plus, the end-to-end tests being slow means they aren't very well suited
to PR or CL trybot runs, where we want to finish relatively quickly.
Signed-off-by: Daniel Martí <mvdan@mvdan.cc>
Change-Id: I7f687dc31010bc0e0005d3385c8388c6657d5362
Reviewed-on: https://review.gerrithub.io/c/cue-lang/cue/+/1171627
Reviewed-by: Roger Peppe <rogpeppe@gmail.com>
TryBot-Result: CUEcueckoo <cueckoo@cuelang.org>
Unity-Result: CUE porcuepine <cue.porcuepine@gmail.com>