dev-image.yml skipped commits whose message starts with Release . No commit has used that
prefix since the repository moved to Conventional Commits, so the condition was always true and the development image was rebuilt for every release.
Matching the prefix would not have been enough either: releases do not reach main as chore(release): 0.3.2, they arrive as the merge commit of the release branch:
67c3f3b Merge pull request 'ci: give each static Linux target its own cache and job' (#21) …
The guard now looks for the (release) scope, which matches both chore(release): X.Y.Z and Merge pull request 'chore(release): X.Y.Z' (#n). workflow_dispatch has no head_commit, so
contains() is false there and the manual run still builds the image.
🚀 Changes made to ...
🔧 Server
🖥️ Client
⌨️ CLI
📚 Documentation
🔄 Other: CI pipeline
✅ Checklist
My code follows the style guidelines of this project
I have performed a self-review of my own code
I have tested my changes locally
I have looked for similar pull requests in the repository and found none
🔗 Related Issues
No issue: noticed while reviewing the runs of #20 and #21.
## 📋 Description
`dev-image.yml` skipped commits whose message starts with `Release `. No commit has used that
prefix since the repository moved to Conventional Commits, so the condition was always true and the
`development` image was rebuilt for every release.
Matching the prefix would not have been enough either: releases do not reach `main` as
`chore(release): 0.3.2`, they arrive as the merge commit of the release branch:
```
67c3f3b Merge pull request 'ci: give each static Linux target its own cache and job' (#21) …
```
The guard now looks for the `(release)` scope, which matches both `chore(release): X.Y.Z` and
`Merge pull request 'chore(release): X.Y.Z' (#n)`. `workflow_dispatch` has no `head_commit`, so
contains() is false there and the manual run still builds the image.
## 🚀 Changes made to ...
- [ ] 🔧 Server
- [ ] 🖥️ Client
- [ ] ⌨️ CLI
- [ ] 📚 Documentation
- [x] 🔄 Other: CI pipeline
## ✅ Checklist
- [x] My code follows the style guidelines of this project
- [x] I have performed a self-review of my own code
- [x] I have tested my changes locally
- [x] I have looked for similar pull requests in the repository and found none
## 🔗 Related Issues
No issue: noticed while reviewing the runs of #20 and #21.
The guard matched a 'Release ' prefix that no commit uses any more, so every
release rebuilt the development image. Match the (release) scope, which covers
the release commit and its merge commit.
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
📋 Description
dev-image.ymlskipped commits whose message starts withRelease. No commit has used thatprefix since the repository moved to Conventional Commits, so the condition was always true and the
developmentimage was rebuilt for every release.Matching the prefix would not have been enough either: releases do not reach
mainaschore(release): 0.3.2, they arrive as the merge commit of the release branch:The guard now looks for the
(release)scope, which matches bothchore(release): X.Y.ZandMerge pull request 'chore(release): X.Y.Z' (#n).workflow_dispatchhas nohead_commit, socontains() is false there and the manual run still builds the image.
🚀 Changes made to ...
✅ Checklist
🔗 Related Issues
No issue: noticed while reviewing the runs of #20 and #21.