You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
When using workflow_run in a workflow that uses semantic-release-action, semantic release will reference the wrong branch and git tags.
Workflow
I have 1 release branch (main) and 1 pre-release branch (development). I have workflow_run configured to wait for a test workflow to finish before triggering semantic-release
on:
workflow_run:
workflows:
- Tests
branches:
- main
- development
types:
- completed
main is on version v1.0.0
development is on version v1.0.1-development.1
commit message fix: typo to main and push to remote
observe how semantic-release incorrectly outputs Found git tag v1.0.1-development.1 associated with version v1.0.1-development.1 on branch development and There are no relevant changes, so no new version is released.
Expected behavior
I would expect to see semantic-release output Found git tag v1.0.1 associated with version 1.0.1 on branch main and then to bump the version number to v1.0.1 on main
Additional context
After removing workflow_run , semantic-release behaves as expected
The text was updated successfully, but these errors were encountered:
Describe the bug
When using
workflow_run
in a workflow that usessemantic-release-action
, semantic release will reference the wrong branch and git tags.Workflow
I have 1 release branch (main) and 1 pre-release branch (development). I have
workflow_run
configured to wait for a test workflow to finish before triggering semantic-releasev1.0.0
v1.0.1-development.1
fix: typo
to main and push to remoteFound git tag v1.0.1-development.1 associated with version v1.0.1-development.1 on branch development
andThere are no relevant changes, so no new version is released.
Expected behavior
I would expect to see semantic-release output
Found git tag v1.0.1 associated with version 1.0.1 on branch main
and then to bump the version number tov1.0.1
on mainAdditional context
After removing
workflow_run
, semantic-release behaves as expectedThe text was updated successfully, but these errors were encountered: