AndreasAugustin / go-gitmoji-cli

:octocat: A conventional gitmoji commit interactive command line tool for using emojis on conventional commits. :rocket:

Home Page:https://gitmoji.dev/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

[Bug]: creating release with release please action does not trigger goreleaser action

AndreasAugustin opened this issue · comments

Is there an existing issue for this?

  • I have searched the existing issues

Describe the bug

Currently release please is used to create releases.
With new release goreleaser is used to deploy the go artifacts.

When manually creating a release this will trigger the goreleaser action but when the release is done with release please, the action is not triggered

Expected Behavior

when the release is created the goreleaser action should be triggered.

Current Behavior

the goreleaser action is not triggered

Steps To Reproduce

No response

Possible Solution

No response

Additional Information/Context

No response

go-gitmoji-cli Version

v0.2.7-alpha

There is a link with same issue:
googleapis/release-please#766

Related to docs: https://docs.github.com/en/actions/using-workflows/triggering-a-workflow#triggering-a-workflow-from-a-workflow

When you use the repository's GITHUB_TOKEN to perform tasks, events triggered by the GITHUB_TOKEN, with the exception of workflow_dispatch and repository_dispatch, will not create a new workflow run. This prevents you from accidentally creating recursive workflow runs.

So will change it with if: ${{ steps.release.outputs.release_created }} in one single action.