action-gh-release
action-gh-release copied to clipboard
Fail to create release using non-latest commit isa with "GitHub release failed with status: 403"
I am only able to create release using latest commit sha. If I provide older commit sha, "GitHub release failed with status: 403" error is hit. attached the workflow yml for reference
Likely same as #400?
Likely same as #400?
No, i have added the write permission in yml file according to the solution in this issue. So using a few recent commit is fine to create release, but older one will hit error.
I am seeing the same error. All workflows have read/write. And I have also added write permission to the workflow yml. I am using v2 of the workflow action. softprops/action-gh-release@v2
@winni0713, what commit is working for you?
Using latest commit I am seeing the same failure.
softprops/action-gh-release@9d7c94cfd0a1f3ed45544c887983e9fa900f0564
I'm not sure if it matters, but in our case a tag in our repo with the same name at the same commit had existed before, but was deleted via the GitHub UI. Could this prevent the creation of the tag now?
@chrisohaver , i was using v1 previously and normally the latest 2 commit can create the release successfully. But it is strange that it is not reproducible in my another repo. Previous commit can still be used.