Hi, I am trying to create a workflow where when I push a new tag, the pipeline adjusts the README.md file to update the inclusion example automatically. Something similar was working fine for me from the default commit hook, but when I try to use the tag hook I run into issues. The issue I am running from is there appears there is no active repository (there is in the checkout hook). It also appears that fetch does not work, checkout does not work , commit does not work, push does not work. Basically "nothing works" (tm). With a raw git-commit/push the error is "fatal, you are not on a branch", stating a detached head. I have tried get checkout master, which tells me "error: pathspec 'master' did not match any file(s) known to git".
Any advice would be greatly appreciated.