Running in GitHub Actions
Use this guide if you want to run the scripts via GitHub Actions CI instead of executing them locally.
Manual GitHub Actions workflows are available for the following scripts:
This documentation assumes you have permission to run workflows in Matter Labs repositories.
How to run the workflows
- Open the workflow page
- Choose the desired workflow from the left sidebar
- Click Run workflow on the upper right side
- Fill in the input parameters
- Click Run workflow on the bottom to start the job
Available workflows
Please, jump to the corresponding script section for more details on each workflow:
Outputs and artifacts
On successful runs, the workflow uploads, for example:
server_<protocol_version>.patchcontracts_<protocol_version>.patch
On failed runs, the workflow uploads:
- Logs from the workspace
.logsdirectory
Commit and PR behavior
commit_changes = false- No commit is created
- A
.patchfile is uploaded as an artifact
commit_changes = trueandopen_pr = false- Changes are pushed directly to the selected base branch
commit_changes = trueandopen_pr = true- A temporary branch is created
- A PR is opened automatically
When to use CI vs local execution
Use GitHub Actions when:
- You want reproducible and reliable updates
- You want consistent environment and tooling versions
Use local scripts when:
- Debugging or developing scripts
- Iterating on update logic
- Testing experimental changes