fix(ci): configure git auth for tag push in main workflow #13
Reference in New Issue
Block a user
Delete Branch "fix/tag-job-git-auth"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Problème
Le job
tagdansmain.yamléchoue augit pushavec :Le checkout configure l'auth via
includeIfmaisanothrNick/github-tag-actionn'arrive pas à l'utiliser pour son push.Fix
Ajout d'un step
Configure git authavant l'action de tag qui injecte le token directement dans la remote URL :Validation
GITHUB_TOKENest fourni automatiquement par Gitea Actions avec droits d'écriture sur le repoGIT_API_TAGGING: falsedonc elle appellegit push— l'URL modifiée sera utilisée