ad-m / github-push-action

GitHub actions to push back to repository eg. updated code
MIT License
1.21k stars 230 forks source link

not trigger create release (actions/create-release) #63

Open daolou opened 4 years ago

daolou commented 4 years ago

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

ad-m commented 4 years ago

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.

daolou commented 4 years ago

@ad-m

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