github-push-action icon indicating copy to clipboard operation
github-push-action copied to clipboard

not trigger create release (actions/create-release)

Open daolou opened this issue 5 years ago • 2 comments

image

push tags success, but not trigger create-release:

push tags workflow:

image

create release workflow: image

repo: https://github.com/jsany/log-filesize-webpack-plugin

daolou avatar Jul 24 '20 15:07 daolou

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. This prevents you from accidentally creating recursive workflow runs. 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.

See https://docs.github.com/en/actions/configuring-and-managing-workflows/authenticating-with-the-github_token for details.

Use https://docs.github.com/en/github/authenticating-to-github/creating-a-personal-access-token as workaround.

ad-m avatar Jul 24 '20 15:07 ad-m

@ad-m

Please look carefully, I used MY_GITHUB_TOKEN which is personal, not GITHUB_TOKEN.

daolou avatar Jul 31 '20 09:07 daolou