create-release icon indicating copy to clipboard operation
create-release copied to clipboard

Wont trigger release event

Open xeptore opened this issue 4 years ago • 0 comments

Hi! in the README.md, in the Example Workflow section, it is mentioned that:

This will create a Release, as well as a release event, which could be handled by a third party service, or by GitHub Actions for additional uses [...]

But, in actions triggers documentation at Triggering new workflows using a personal access token, it is mentioned that:

When you use the repository's GITHUB_TOKEN to perform tasks on behalf of the GitHub Actions app, events triggered by the GITHUB_TOKEN will not create a new workflow run. [...] For example, if a workflow run pushes code using the repository's GITHUB_TOKEN, a new workflow will not run even when the repository contains a workflow configured to run when push events occur.

Furthermore, I have tested a situation where a publish workflow configured to be executed on:release:created while there's another release workflow that is triggered on:push that uses actions/create-release to create a release. But, after execution of release workflow, publish workflow will not run. It confuses me that which one of the descriptions are correct, or what am I doing wrong.

I use GITHUB_TOKEN virtual-env-provided token.

xeptore avatar Feb 10 '21 16:02 xeptore