e0dd77c05a
Use v2 of publishing workflow that checks out HEAD of version branch on tag events (#98029)
This uses a script check in the first step of tag events that switches the checkout to the version branch that the tag refers to: https://github.com/grafana/writers-toolkit/blob/main/publish-technical-documentation-release/determine-release-branch.
Implemented in:
- https://github.com/grafana/writers-toolkit/commit/305f9896c4edb0a90ef95fc477ebe46598d26458
- https://github.com/grafana/writers-toolkit/commit/541fb6e8bde2eb477c14a4e975603464ac557429
Because the script uses Bash regular expression pattern matching, inputs must use Extended Regular Expression syntax.
(cherry picked from commit 331c602c5e)
Signed-off-by: Jack Baldry <jack.baldry@grafana.com>
Co-authored-by: Jack Baldry <jack.baldry@grafana.com>