hubs icon indicating copy to clipboard operation
hubs copied to clipboard

Workflow turkeyGitops/ build failure

Open Adi-FHE opened this issue 3 years ago • 2 comments

Discussed in https://github.com/mozilla/hubs/discussions/5429

Originally posted by Adi-FHE May 13, 2022

I am currently trying to create new branch in forked repository of mozilla/hubs. This branch would be merged with (mozilla/hubs) upstream/hubs-cloud and (forked) origin/my-customHubs (Our custom feature). Whenever I pushed my local changes in newly created branch into origin (forked) remote with git push origin mybranch , following docker login error (workflow error in turkeyGitops/build) ensue. I still can do access and manipulate the branch in my forked repository and the local hubs client also running as expected. My only concern is this workflow Error, which discourage me from uploading the branch to my live server. If anyone kind enough to enlighten or point me to the right direction on why this problem occurs, i would really thankful. bd6f54ddab675ae7ab0cfd84c6e12029

Adi-FHE avatar May 13 '22 09:05 Adi-FHE

Same here, recommend to alter the github workflow config to only run these on the main repo.

You can use an if on the job with some github-provided variables like repo owner, e.g what was done here https://github.com/prisma/prisma/issues/3539

If you'd accept a PR for this, I will make one

wmurphyrd avatar Jun 17 '22 17:06 wmurphyrd

Sounds right to make the workflow conditional based on the repo owner. Tagging @tanfarming for visibility.

brianpeiris avatar Sep 08 '22 10:09 brianpeiris