Skip to content

Commit ee2c50e

Browse files
committed
simplify
1 parent f6538b1 commit ee2c50e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

‎.github/workflows/tag_and_release.yml‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,5 +20,5 @@ jobs:
2020
with:
2121
gem_name: html-proofer
2222
version_filepath: lib/html_proofer/version.rb
23-
prepare: ${{github.event_name == 'push' || github.event_name == 'workflow_dispatch' }}
24-
release: ${{(github.event.pull_request.merged == true) && (contains(github.event.pull_request.labels.*.name, 'release')) }}
23+
prepare: ${{github.event_name == 'push' }}
24+
release: ${{github.event_name == 'workflow_dispatch' || ((github.event.pull_request.merged == true) && (contains(github.event.pull_request.labels.*.name, 'release'))) }}

0 commit comments

Comments
(0)