Walletwasabi: Fix GitHub Actions

Created on 23 Sep 2019  路  9Comments  路  Source: zkSNACKs/WalletWasabi

@molnard https://github.com/zkSNACKs/WalletWasabi/pull/2321 Ruined our ability to keep our master up to date.

 ! [remote rejected]   master -> master (refusing to allow an integration to create or update .github/workflows/ci.yml)
error: failed to push some refs to 'https://github.com/nopara73/WalletWasabi.git'

I'd prefer it to be fixed ASAP, but if not, I revert with PR https://github.com/zkSNACKs/WalletWasabi/pull/2328

debug waiting for dependency

All 9 comments

Let me see, wait a minute.

@nopara73 are you doing this (create or update .github/workflows/ci.yml) actually? Or is it just bugged in some way?

I figured it out... It is non-intuitive but you must do git rm .github/main.workflow before you can git push even if your push does not modify the file .github/main.workflow in any way. This means that a push to upstream must kill the Action until the upstream user manually adds it once again.

Solution for now:

This isn't just for deleting main.workflow, it also happens when it's being modified. Same problem with Git Kraken. The only solution I found is to use the git command line or edit/delete the file on github.com. Adding /.github/main.workflow to .gitignore helps but there's still a problem when merging a branch to another branch with changes to the workflow file. I would love to see a proper solution though.

Discussion here:
https://github.com/desktop/desktop/issues/6526#issuecomment-450990880

Ok, I made some investigations. So can you try to switch to a git URL over an HTTP URL for git?

It works for me.

Changing to git URL (SSH) is not an option as it makes the contributions hard.

@yahiheb That doesn't help. That's a client side hack, we cannot expect every contributor of Wasabi to figure that out.

Yes, I have seen that. They won't solve it - it is by design. You cannot use https as a remote if GitHub action files are there - for security reasons.
We will stick with Azure regarding CI - it is evolving faster and better.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

gabridome picture gabridome  路  3Comments

the-metalworker picture the-metalworker  路  3Comments

RiccardoMasutti picture RiccardoMasutti  路  3Comments

yahiheb picture yahiheb  路  3Comments

molnard picture molnard  路  3Comments