Limit GitHub Actions to designated branches
Get series with b4
b4 am [email protected]Versions newest first
- v2 Latest2 patches 33 repliesIn review
Patches in v2 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | CI: limit GitHub Actions to designated branches.github/ | +13 | 39 replies | |
| 2/2 | SubmittingPatches: advertise GitHub Actions CIDocumentation/ | +5 | 2 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.
Cover letter [PATCH v2 0/2] Limit GitHub Actions to designated branches
It seems like there's at least one contributor like this proposal.
Quoted 2 lines
Yeah, this seems quite reasonable to me. I'd just add a refspec to push a duplicate of branches I'm interested in running CI on to for-ci.
I've tweaked the commit message for the proposal and added a new patch to advertise GitHub Actions to our friends.
With this series applied, we will trigger GitHub Actions CI for those branches only:
- 5 integration branches: maint, master, next, jch, and pu
- Contributors' opted-in branches: 'for-ci/**'
Đoàn Trần Công Danh (2):
CI: limit GitHub Actions to designated branches
SubmittingPatches: advertise GitHub Actions CI
.github/workflows/main.yml | 14 +++++++++++++- Documentation/SubmittingPatches | 5 +++++ 2 files changed, 18 insertions(+), 1 deletion(-)
Range-diff against v1:
1: 106620b2d8 ! 1: 73de97dfeb CI: GitHub: limit GitHub Action to intergration branches
@@ Metadata
Author: Đoàn Trần Công Danh <[email protected]>
## Commit message ##
- CI: GitHub: limit GitHub Action to intergration branches
+ CI: limit GitHub Actions to designated branches
+
+ Git's maintainer usually don't have enough time to debug the failure of
+ invidual feature branch, they usually want to look at intergration
+ branches.
+
+ Contributors now can have GitHub Actions as an opt-in option,
+ should they want to check their code, they will push into designated
+ branch.
@@ .github/workflows/main.yml
+on:
+ pull_request:
+ branches:
-+ - '*'
++ - '**'
+ push:
+ branches:
+ - maint
-: ---------- > 2: 24a8fefe5a SubmittingPatches: advertise GitHub Actions CI
Signature · 1 line
2.26.2.672.g232c24e857