Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
workflows: Install gh cli on self-hosted runner
In confidential-containers#2077 I forgot about pull_request_target not testing workflows in PRs and that self-hosted runners wouldn't have the gh cli installed, so this attempts to fix the workflows and install gh cli and login. From local testing I think that's enough as `gh api` doesn't require the repo to be passed in, but if we want to expand the gh commands we use in future we might need additional envs set. Note: I did find a few actions to do this, but they were only used by single digit projects, so I figured it would be safer to do it ourselves for now Signed-off-by: stevenhorsman <steven@uk.ibm.com>
- Loading branch information