How can I edit an existing action? #26525
-
I have an existing action, and I want to modify the workflow file. The problem is, whenever I try to do so, I’m presented with a 404 error page? My process is:
After this, I then get the 404 error. I would delete and recreate the workflow if I could, but this also doesn’t seem possible (unless I’m missing something? I can’t see any way of doing this). |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
|
Beta Was this translation helpful? Give feedback.
-
Hi @sean-dunwoody , I guess you have deleted/renamed that workflow yml file or deleted the whole branch. Please check the branch and workflow yml file path in workflow run “Workflow file” tab. And then go to Code tab of the GitHub Repo, choose the matched branch and check whether the workflow yml file is still here. If not, you will get 404 page not found when you try editing the workflow file. In my scenario, the related branch has been deleted. To be able to edit the file again, I recreated the branch and the workflow yml file. |
Beta Was this translation helpful? Give feedback.
Hi @sean-dunwoody ,
I guess you have deleted/renamed that workflow yml file or deleted the whole branch.
Please check the branch and workflow yml file path in workflow run “Workflow file” tab.
And then go to Code tab of the GitHub Repo, choose the matched branch and check whether the workflow yml file is still here.
If not, you will get 404 page not found when you try editing the workflow file.
In my scenario, the related branch has been deleted. To be able to edit the file again, I recreated the branch and the workflow yml file.