Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Always 3 go-release.action workflows for a release #20

Open
PatMis16 opened this issue Apr 22, 2021 · 1 comment
Open

Always 3 go-release.action workflows for a release #20

PatMis16 opened this issue Apr 22, 2021 · 1 comment

Comments

@PatMis16
Copy link

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?

@azilber
Copy link

azilber commented Apr 25, 2021

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants