Skip to content

4.x: Add post pr merge workflow to support continuous snapshot deployments #8919

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

Merged
Merged
Show file tree
Hide file tree
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
22 changes: 22 additions & 0 deletions .github/workflows/pr-merge.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
#
# Workflow that runs on any push to main.

name: "Post PR Merge"

on:
push:
branches:
- 'main'
- 'helidon-*.x'

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: false

jobs:
validate:
uses: ./.github/workflows/validate.yml
snapshot:
# Run validation then deploy snapshot release
needs: validate
uses: ./.github/workflows/snapshotrelease.yml
1 change: 1 addition & 0 deletions .github/workflows/snapshotrelease.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ name: "Snapshot Release"

on:
workflow_dispatch:
workflow_call:

env:
JAVA_VERSION: '21'
Expand Down
4 changes: 3 additions & 1 deletion .github/workflows/validate.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,9 @@

name: "Validate"

on: [pull_request, push]
on:
pull_request:
workflow_call:

env:
JAVA_VERSION: '21'
Expand Down