Two workflows are run for the same push

JD 1 Reputation point

I don't know much about workflows in github but when I do Push of my software to github it spawns two identical workflows(that deploy my app to the static web app resource on the azure) out of which one fails and one succeeds. How can I rectify the problem and have just one workflow that succeeds.
This double workflow happened all of it sudden, before there was just one.

Azure App Service
Azure App Service
Azure App Service is a service used to create and deploy scalable, mission-critical web apps.
7,330 questions
{count} votes

1 answer

Sort by: Most helpful
  1. JD 1 Reputation point

    Thanks ryanchill for trying to help me.
    I have solved the problem.
    It was my silly mistake. I have renamed my static web app resource recently, so there were two workflows spawning one for the new app and one for the old one that does not exist - that one was failing. I removed from my repo the second workflow and it is working perfect now.