Hello, I’m trying to figure out how to accomplish this:
- Have a release branch:
git checkout -b release-v0.1.0
- Commit some changelog:
(automated script the append CHANGELOGS.md)
- The automated script will also tag the commit:
echo "release v0.1.0" | git tag -a -F- v0.1.0
- Open a Pull Request for release
- Only run the workflow if and only if the PR is merged into the
main
branch
I can’t seem to figure it out with Github Actions. This was very useful with BitBucket and TeamCity…