Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ci: automated versioning and publishing (#181)
> [!IMPORTANT] > **This change impacts how pull requests should be titled and merged**. See below for details. This changeset looks to resolve the issue that we have seen crop up over the past few weeks where changes have been merged into `master` but because a bunch of manual steps haven't been completed, new releases (docker images) haven't been published. For the workflows in this pull request to work correctly, one new variable and two new secrets need to be created: | Type | Name | Notes | | ------------------ | ------------------ | ------------------ | | Variable | DOCKERHUB_USERNAME | The username/account of the Docker Hub profile under which images built should be published. | | Secret | DOCKERHUB_TOKEN | The [access token](https://docs.docker.com/security/for-developers/access-tokens/) to be used to authenticate to Docker Hub. | | Secret | GH_ACCESS_TOKEN | The GitHub access token to be used. This is required because GitHub blocks commits created by actions spawning other actions when using the default workflow token. | The secrets and variable can be created from within the repository *Settings > Secrets and variables -> Actions*. ## Pull Requests This change introduces a dependency on [conventional commit messages](https://kapeli.com/cheat_sheets/Conventional_Commits.docset/Contents/Resources/Documents/index#:~:text=Commits%20MUST%20be%20prefixed%20with%20a%20type%2C%20which,commit%20represents%20a%20bug%20fix%20for%20your%20application). The action within the versioning workflow looks at the format of the commit message to determine which of the *major*, *minor*, or *patch* numbers to increment. Setting pull request titles to be in conventional commit format (like this one) and with the below pull request settings configured will ensure that the versioning works as expected: ![image](https://github.com/user-attachments/assets/238927ca-be57-472f-8443-26d0c174217e) Reviewers of PRs for the project should ensure that pull request titles are appropriate for the changes included. Closes #147, Closes #180 --------- Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
- Loading branch information