go-release.action icon indicating copy to clipboard operation
go-release.action copied to clipboard

Always 3 go-release.action workflows for a release

Open PatMis16 opened this issue 4 years ago • 1 comments

In my repo PatMis16/promalert2bmctsom I trigger the go-release.action whenever a release is created. This works fine but I always see three workflows running for the same release: github_workflow_runs

Is this a normal behaviour?

PatMis16 avatar Apr 22 '21 12:04 PatMis16

You need to specify which release action it has to build on. This was a slight omission in the example which I'll add as another PR. Meantime, in your YAML you need to add:

on: 
  release:
    types: [published]

Here's the specific doc regarding it: https://docs.github.com/en/actions/reference/workflow-syntax-for-github-actions#onevent_nametypes

azilber avatar Apr 25 '21 05:04 azilber