Currently, creating a repo from this template will cause the build workflow to run on the initial commit. This isn't ideal because at that point, all that's in the repo is the template document, which isn't too useful to have stored as a release.
Moreover, the build workflow will always fail as the initial commit it builds on isn't conventional. There is already a workflow to make the initial commit conventional (added in #14), but the build workflow will already be running on the original ref by the time the initial commit is amended.
Perhaps we can check whether the commit the build workflow is running on has a parent, and only run the workflow if so?
Currently, creating a repo from this template will cause the build workflow to run on the initial commit. This isn't ideal because at that point, all that's in the repo is the template document, which isn't too useful to have stored as a release.
Moreover, the build workflow will always fail as the initial commit it builds on isn't conventional. There is already a workflow to make the initial commit conventional (added in #14), but the build workflow will already be running on the original ref by the time the initial commit is amended.
Perhaps we can check whether the commit the build workflow is running on has a parent, and only run the workflow if so?