Skip to content

Commit ef7fef6

Browse files
committed
ci: update to release-please@4, set add hfix for hidden fixes
1 parent 769dc00 commit ef7fef6

File tree

5 files changed

+82
-6
lines changed

5 files changed

+82
-6
lines changed
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
{
2+
".": "1.4.0"
3+
}
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
{
2+
".": "1.4.0"
3+
}

.github/release-please-config.json

Lines changed: 67 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,67 @@
1+
{
2+
"packages": {
3+
".": {
4+
"versioning": "always-bump-minor",
5+
"release-type": "python",
6+
"changelog-sections": [
7+
{
8+
"type": "fix",
9+
"section": "🐛 Bug Fixes"
10+
},
11+
{
12+
"type": "hfix",
13+
"section": "🤫 Bug Fixes",
14+
"hidden": false
15+
},
16+
{
17+
"type": "perf",
18+
"section": "🚀 Performance Improvements"
19+
},
20+
{
21+
"type": "revert",
22+
"section": "🗑 Reverts"
23+
},
24+
{
25+
"type": "hrevert",
26+
"section": "🤫 Reverts",
27+
"hidden": false
28+
},
29+
{
30+
"type": "docs",
31+
"section": "📚 Documentation",
32+
"hidden": true
33+
},
34+
{
35+
"type": "style",
36+
"section": "💎 Styles",
37+
"hidden": true
38+
},
39+
{
40+
"type": "chore",
41+
"section": "♻️ Miscellaneous Chores",
42+
"hidden": true
43+
},
44+
{
45+
"type": "refactor",
46+
"section": "📦 Code Refactoring",
47+
"hidden": true
48+
},
49+
{
50+
"type": "test",
51+
"section": "🚨 Tests",
52+
"hidden": true
53+
},
54+
{
55+
"type": "build",
56+
"section": "🛠 Build System",
57+
"hidden": true
58+
},
59+
{
60+
"type": "ci",
61+
"section": "⚙️ Continuous Integration",
62+
"hidden": true
63+
}
64+
]
65+
}
66+
}
67+
}

.github/workflows/release.backport.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,9 @@ jobs:
1111
pull-requests: write
1212
steps:
1313
- name: Release
14-
uses: googleapis/release-please-action@v3
14+
uses: googleapis/release-please-action@v4
1515
with:
1616
release-type: python
17-
versioning-strategy: always-bump-patch
18-
default-branch: ${{ github.ref_name }}
17+
target-branch: ${{ github.ref_name }}
1918
token: ${{ secrets.GH_RELEASE_PAT }}
19+
manifest-file: .release-please-manifest.backport.json

.github/workflows/release.main.yml

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
name: Release Main
22
on:
3+
pull_request:
4+
branches: [ "main" ]
35
push:
46
branches:
57
- main
@@ -11,9 +13,10 @@ jobs:
1113
pull-requests: write
1214
steps:
1315
- name: Release
14-
uses: googleapis/release-please-action@v3
16+
uses: googleapis/release-please-action@v4
1517
with:
1618
release-type: python
17-
versioning-strategy: always-bump-minor
18-
default-branch: ${{ github.ref_name }}
19+
target-branch: fix/release-please-sections
1920
token: ${{ secrets.GH_RELEASE_PAT }}
21+
config-file: .github/release-please-config.json
22+
manifest-file: .github/.release-please-manifest.main.json

0 commit comments

Comments
 (0)