Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ci: fix release assets not available (#444)
The default token GH_TOKEN in workflows does not trigger new events. We rely on the "tag" event created by release-please to build our release assets. By using a token for "hcloud-bot", the event will be properly created. We explicitly only run the workflow job if the repository is the main repo, as otherwise this workflow will fail in forks because the secret is not available. See also hetznercloud/cli#476
- Loading branch information