question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Main.workflow causes an error when publishing a new branch

See original GitHub issue

Description

I recently added a Github action to my repository, and attempted to retrieve it using the desktop client, and ended up with the following error:

Total 0 (delta 0), reused 0 (delta 0)
To https://github.com/JamesIves/reddit-viewer.git
 ! [remote rejected] doc-test -> doc-test (refusing to allow an integration to create main.workflow)
error: failed to push some refs to 'https://github.com/JamesIves/reddit-viewer.git'

You can see the workflow here:

screen shot 2019-01-02 at 3 10 53 pm

I attempted to remove main.workflow, but after committing it I get a similar error when pushing to master.

Enumerating objects: 3, done.
Counting objects:  33% (1/3)   
Counting objects:  66% (2/3)   
Counting objects: 100% (3/3)   
Counting objects: 100% (3/3), done.
Delta compression using up to 8 threads
Compressing objects:  50% (1/2)   
Compressing objects: 100% (2/2)   
Compressing objects: 100% (2/2), done.
Writing objects:  50% (1/2)   
Writing objects: 100% (2/2)   
Writing objects: 100% (2/2), 230 bytes | 230.00 KiB/s, done.
Total 2 (delta 1), reused 0 (delta 0)
remote: Resolving deltas:   0% (0/1)           
remote: Resolving deltas: 100% (1/1)           
remote: Resolving deltas: 100% (1/1), completed with 1 local object.        
To https://github.com/JamesIves/reddit-viewer.git
 ! [remote rejected] master -> master (refusing to allow an integration to delete main.workflow)
error: failed to push some refs to 'https://github.com/JamesIves/reddit-viewer.git'

Version

  • GitHub Desktop: 1.5.1
  • Operating system: Mac OSX Mojave 10.14.1

Steps to Reproduce

Expected Behavior

I expect it to publish the branch with no errors.

Actual Behavior

It errors.

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Reactions:7
  • Comments:15 (4 by maintainers)

github_iconTop GitHub Comments

8reactions
saxintecommented, Feb 12, 2019

this issue is still happening and is very annoying

6reactions
nicolas-marcqcommented, Oct 16, 2019

For other Googler who fall here. It work with HTTPS if you use an access token

Read more comments on GitHub >

github_iconTop Results From Across the Web

Github "Failed to publish this branch" error on windows
In Windows, right click on your repository --> click on open a shell here. You will see a command prompt. type git push...
Read more >
Workflow suddenly start generating intermittent errors on save ...
Recently we finished a list/form/workflow update and were asked to replicate the new piece to another, related list. After spending a good chunk ......
Read more >
Unable to create new branches from pull requests with ... - Jira
PlanSpec.main(PlanSpec.java:109) Caused by: com.atlassian.bamboo.specs.exceptions.BambooSpecsRestRequestException: Plan branch / workflow: ...
Read more >
About Workflow Analyzer - UiPath Documentation Portal
Workflow Analyzer is a static code analyzer that ensures your project ... an error is logged with details about the cause of the...
Read more >
Pushing changes on a local branch to the remote end - Cloud
Optionally, update your local Git repository to prevent possible errors caused by asynchronization between your local Git repository and the server. For more ......
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found