Skip to content

Commit

Permalink
Merge pull request #5570 from solidusio/elia/gh-actions-fix
Browse files Browse the repository at this point in the history
Post release GH actions fix
  • Loading branch information
elia authored Dec 27, 2023
2 parents 82900b9 + 711ae69 commit 6d6ebf0
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/prepare_post_release.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
name: "Prepare post-release"

on:
workflow_dispatch:
pull_request:
branches:
- main
Expand All @@ -15,8 +16,10 @@ jobs:
BUNDLE_ONLY: "release"
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
if: |
github.event.pull_request.merged == true &&
(github.event_name == 'workflow_dispatch') || (
github.event.pull_request.merged == true &&
contains(github.event.pull_request.labels.*.name, 'release:generate')
)
steps:
- uses: actions/checkout@v3
- uses: ruby/setup-ruby@v1
Expand All @@ -39,7 +42,7 @@ jobs:
- name: "Bump to the development version in docker-compose"
if: github.ref_name == 'main'
run: |
cd bin/release/bump-docker-image-version \
bin/release/bump-docker-image-version \
${{ steps.pipeline_context.outputs.next_candidate_dev_version }}
- name: "Bump installer starter frontend version"
if: github.ref_name == 'main'
Expand Down

0 comments on commit 6d6ebf0

Please sign in to comment.