'Github action not triggering in case of automated tag creation [duplicate]
I have a Github workflow which is configured to trigger on tag push event:
on:
push:
tags:
- "*"
The Github action triggers just fine in case I create a tag and push it myself from the command line or from Eclipse GUI with Egit/JGit plug-in.
If I do the same command-line tag creation from another Github action however, the Github action that should trigger on 'push tags' does not trigger.
Below the commands that I run inside the other Github action, or from Git-Bash, sucessfully in both cases :
git commit -a -m "prepare for new version $NEW_VERSION"
git push
git tag -a $NEW_VERSION -m "$NEW_VERSION"
git push origin $NEW_VERSION
Also tried the lightweight tag git tag $NEW_VERSION and various identities (including my own) through command-line git config --global user.name and git config --global user.email :
- GitHub Action [email protected]
- github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
- github-actions [email protected]
What am I missing here ?
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
