Skip to content

Commit

Permalink
Merge pull request #1919 from Adyen/chore/release_process_changes_add…
Browse files Browse the repository at this point in the history
…_release_notes_step

Release - Add release notes jobs to the release workflow
  • Loading branch information
araratthehero authored Dec 3, 2024
2 parents d86d0ea + d54196b commit 01fe1c3
Showing 1 changed file with 18 additions and 3 deletions.
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 }}

0 comments on commit 01fe1c3

Please sign in to comment.