Get the complain toggle right

This commit is contained in:
Max Howell 2023-12-30 07:57:09 +00:00
parent 961a4f65e7
commit 54257d8075
No known key found for this signature in database
GPG key ID: 741BB84EF5BB9EEC

View file

@ -14,6 +14,9 @@ on:
description: eg. `foo.com=1.2.3 bar.com^2.3.4`
required: true
type: string
complain:
type: boolean
default: true
jobs:
ingest:
@ -37,5 +40,5 @@ jobs:
issues: write
with:
pkg: ${{ matrix.pkg }}
complain: ${{ github.event_name == 'workflow_call' }}
complain: ${{ github.event_name == 'workflow_call' || inputs.complain }}
secrets: inherit