Update release-please.yml

This commit is contained in:
Omar Amin authored and GitHub committed 2026-03-11 00:44:09 +02:00
1 parent 53ae51cf52
commit f81d21e37b
1 file changed
+15 -10
+15 -10
View File
@@ -1,17 +1,22 @@
# .github/workflows/release-please.yml # .github/workflows/release.yml
on: on:
push: push:
branches: tags:
- main - "v*"
permissions:
contents: write
pull-requests: write
jobs: jobs:
release-please: release:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- uses: googleapis/release-please-action@v4 - uses: actions/checkout@v4
- name: Update changelog
uses: orhun/git-cliff-action@v3
with: with:
release-type: python args: --tag ${{ github.ref_name }} --prepend CHANGELOG.md
- name: Create GitHub Release
uses: softprops/action-gh-release@v2
with:
name: ${{ github.ref_name }} # ← your tag name becomes the release name
body_path: CHANGELOG.md