Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion .github/workflows/release-on-merge.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name: Release on Merge

# Monthly release orchestrator (Publishing Phase):
# 1. Triggers when a Pull Request is closed and merged into main.
# 1. Triggers when a Pull Request modifying changelog.rst is closed and merged into main.
# 2. If it is a release PR (has 'autorelease' label), it extracts the version.
# 3. Creates and pushes the Git tag for that version.
# 4. Calls the reusable release.yml workflow to build and publish to PyPI.
Expand All @@ -10,6 +10,8 @@ on:
types: [closed]
branches:
- main
paths:
- "docs/source/changelog.rst"

jobs:
tag:
Expand Down Expand Up @@ -60,6 +62,8 @@ jobs:
permissions:
contents: write
id-token: write
checks: read
statuses: read
uses: ./.github/workflows/release.yml
with:
ref: ${{ needs.tag.outputs.version }}
Expand Down
Loading