Skip to content

Commit

Permalink
Allow running the post release action manually
Browse files Browse the repository at this point in the history
  • Loading branch information
elia committed Dec 27, 2023
1 parent 71fee66 commit 711ae69
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .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 Down

0 comments on commit 711ae69

Please sign in to comment.