ci: fix release drafter call conditional (#5333)

https://github.com/actions/runner/discussions/1884
This commit is contained in:
Jamil
2024-06-11 23:15:57 -05:00
committed by GitHub
parent f0c1f9556a
commit adaaa0cbd3

View File

@@ -56,7 +56,8 @@ jobs:
config_name: release-drafter-gui-client.yml
steps:
- uses: release-drafter/release-drafter@v6
if: github.event_name == 'workflow_call'
# workflow_call event is named workflow_dispatch
if: ${{ github.event_name == 'workflow_dispatch' }}
id: update-release-draft
with:
config-name: ${{ matrix.config_name }}