Skip to content

Commit

Permalink
ci: update to release-please@4, set add hfix for hidden fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
collindutter committed Mar 7, 2025
1 parent 769dc00 commit 9e33d06
Show file tree
Hide file tree
Showing 5 changed files with 82 additions and 6 deletions.
3 changes: 3 additions & 0 deletions .github/.release-please-manifest.backport.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
".": "1.4.0"
}
3 changes: 3 additions & 0 deletions .github/.release-please-manifest.main.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
".": "1.4.0"
}
67 changes: 67 additions & 0 deletions .github/release-please-config.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,67 @@
{
"packages": {
".": {
"versioning": "always-bump-minor",
"release-type": "python",
"changelog-sections": [
{
"type": "fix",
"section": "🐛 Bug Fixes"
},
{
"type": "hfix",
"section": "🤫 Bug Fixes",
"hidden": false
},
{
"type": "perf",
"section": "🚀 Performance Improvements"
},
{
"type": "revert",
"section": "🗑 Reverts"
},
{
"type": "hrevert",
"section": "🤫 Reverts",
"hidden": false
},
{
"type": "docs",
"section": "📚 Documentation",
"hidden": true
},
{
"type": "style",
"section": "💎 Styles",
"hidden": true
},
{
"type": "chore",
"section": "♻️ Miscellaneous Chores",
"hidden": true
},
{
"type": "refactor",
"section": "📦 Code Refactoring",
"hidden": true
},
{
"type": "test",
"section": "🚨 Tests",
"hidden": true
},
{
"type": "build",
"section": "🛠 Build System",
"hidden": true
},
{
"type": "ci",
"section": "⚙️ Continuous Integration",
"hidden": true
}
]
}
}
}
6 changes: 3 additions & 3 deletions .github/workflows/release.backport.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,9 @@ jobs:
pull-requests: write
steps:
- name: Release
uses: googleapis/release-please-action@v3
uses: googleapis/release-please-action@v4
with:
release-type: python
versioning-strategy: always-bump-patch
default-branch: ${{ github.ref_name }}
target-branch: ${{ github.ref_name }}
token: ${{ secrets.GH_RELEASE_PAT }}
manifest-file: .release-please-manifest.backport.json
9 changes: 6 additions & 3 deletions .github/workflows/release.main.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
name: Release Main
on:
pull_request:
branches: [ "main" ]
push:
branches:
- main
Expand All @@ -11,9 +13,10 @@ jobs:
pull-requests: write
steps:
- name: Release
uses: googleapis/release-please-action@v3
uses: googleapis/release-please-action@v4
with:
release-type: python
versioning-strategy: always-bump-minor
default-branch: ${{ github.ref_name }}
target-branch: fix/release-please-sections
token: ${{ secrets.GH_RELEASE_PAT }}
config-file: .github/release-please-config.json
manifest-file: .github/.release-please-manifest.main.json

0 comments on commit 9e33d06

Please sign in to comment.