With GitHub Releases, tags are created automatically each time a release is published and before the GitHub Actions release
event is triggered.
https://github.com/0x2b3bfa0/releases/actions/workflows/release.yml
releases/.github/workflows/release.yml
Lines 2 to 3 in 24843b9