internal/ci: trigger Unity on master as porcuepine
By default, repositoryDispatch and curlGitHubAPI use CUECKOO_GITHUB_PAT,
which cannot trigger workflows in the new cue-unity/unity-private.
Use PORCUEPINE_GITHUB_PAT, which can, as the bot account for cue-unity.
Note that repositoryDispatch had bot user and token input definitions,
but they weren't actually used. The user one is entirely unnecessary,
and the token one wasn't threaded properly into curlGitHubAPI.
Those weren't a problem before, because each repo only needed to use
a single bot account's personal access token secret.
With the switch to unity-private, the main CUE repo now needs to use
tokens from two bot accounts for different purposes.
Signed-off-by: Daniel Martí <mvdan@mvdan.cc>
Change-Id: Ia6ad0112c3c795ff3ab58c3ccc9ed4c03c2ea32f
Reviewed-on: https://review.gerrithub.io/c/cue-lang/cue/+/554262
Unity-New-Result: CUE porcuepine <cue.porcuepine@gmail.com>
TryBot-Result: CUEcueckoo <cueckoo+gerrithub@cuelang.org>
Reviewed-by: Paul Jolly <paul@myitcv.io>