You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Add release branch validation support to GitHub Actions workflows
The trunk-based development strategy is used by some tooling projects (e.g., Arduino CLI). Their release branches may
contain a subset of the history of the default branch.
The status of the GitHub Actions workflows should be evaluated before making a release. However, this is not so simple as
checking the status of the commit at the tip of the release branch. The reason is that, for the sake of efficiency, the
workflows are configured to run only when the processes are relevant to the trigger event (e.g., no need to run unit
tests for a change to the readme).
For this reason, it is necessary to to trigger all relevant workflows on the creation of a release branch.
This project does not use release branches, so does not benefit from the added support for them. However, these
workflows are designed to be reusable for any Arduino tooling project with the minimum amount of project-specific
configuration. The benefits of reduced installation and maintenance effort that comes from this standardization outweigh
any harm done by asset content that is superfluous for a specific project.
0 commit comments