Skip to content

Commit

Permalink
ci: update to release-please@4, set add hidden type for hidden comm…
Browse files Browse the repository at this point in the history
…its (#1819)

ci: update to release-please@4, set add hfix for hidden fixes
  • Loading branch information
collindutter authored Mar 7, 2025
1 parent 769dc00 commit eed1c03
Show file tree
Hide file tree
Showing 5 changed files with 94 additions and 8 deletions.
3 changes: 3 additions & 0 deletions .github/.release-please-manifest.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
".": "1.4.0"
}
7 changes: 7 additions & 0 deletions .github/release-please-config.hotfix.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"versioning": "always-bump-patch",
"release-type": "python",
"packages": {
".": {}
}
}
74 changes: 74 additions & 0 deletions .github/release-please-config.main.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,74 @@
{
"versioning": "always-bump-minor",
"release-type": "python",
"changelog-sections": [
{
"type": "feat",
"section": "✨ Features",
"hidden": false
},
{
"type": "fix",
"section": "🐛 Bug Fixes",
"hidden": false
},
{
"type": "perf",
"section": "🚀 Performance Improvements",
"hidden": false
},
{
"type": "deps",
"section": "📦 Dependencies",
"hidden": false
},
{
"type": "revert",
"section": "🗑 Reverts",
"hidden": false
},
{
"type": "docs",
"section": "📚 Documentation",
"hidden": false
},
{
"type": "hidden",
"section": "🤫 Hidden Changes",
"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
}
],
"packages": {
".": {}
}
}
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Release Backport
name: Release Hotfix
on:
push:
branches:
Expand All @@ -11,9 +11,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-patch
default-branch: ${{ github.ref_name }}
target-branch: ${{ github.ref_name }}
token: ${{ secrets.GH_RELEASE_PAT }}
config-file: .github/release-please-config.hotfix.json
manifest-file: .github/.release-please-manifest.json
9 changes: 5 additions & 4 deletions .github/workflows/release.main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,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: ${{ github.ref_name }}
target-branch: fix/release-please-sections
token: ${{ secrets.GH_RELEASE_PAT }}
config-file: .github/release-please-config.main.json
manifest-file: .github/.release-please-manifest.json

0 comments on commit eed1c03

Please sign in to comment.