Open ytetsuro opened 2 years ago
We experienced the same issue. Not sure if related, but the our release action was triggering on a workflow_run
instead of a push
:
on:
workflow_run:
workflows: [Build]
branches: [release]
types:
- completed
Describe the bug
I ran semantic-release on the master branch, but the release fail. The reason is the following.
Workflow
workflow config
Expected behavior
It is correctly recognized as a master branch and deployed.
Additional context
This repository has a default branch is develop. I checked the name of the branch I was checking out just before deploying and it was master.