Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Release - Add release notes jobs to the release workflow #1919

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
21 changes: 18 additions & 3 deletions .github/workflows/publish_release.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,10 @@
name: Publish Release

# Every time we trigger the workflow on a branch.
# Every time a push happens to the release/** branch. We use this trigger since create event does not support filtering
on:
workflow_dispatch:
push:
branches:
- 'release/**'

jobs:
check:
Expand All @@ -19,9 +21,22 @@ jobs:
with:
version-name: ${{ needs.generate_version_name.outputs.version-name }}
create_github_release:
name: Create GitHub Release
name: Create GitHub release
uses: ./.github/workflows/create_github_release.yml
secrets: inherit
needs: [generate_version_name, publish_to_maven_central]
with:
version-name: ${{ needs.generate_version_name.outputs.version-name }}
generate_release_notes:
name: Generate release notes
uses: ./.github/workflows/generate_release_notes.yml
secrets: inherit
needs: [generate_version_name, create_github_release]
with:
version-name: ${{ needs.generate_version_name.outputs.version-name }}
create_release_notes_pr:
name: Create release notes pr
uses: ./.github/workflows/create_release_notes_pr.yml
needs: [generate_version_name, generate_release_notes]
with:
version-name: ${{ needs.generate_version_name.outputs.version-name }}