diff --git a/.github/workflows/new-version.yml b/.github/workflows/new-version.yml index 10209f9b..05c97a86 100644 --- a/.github/workflows/new-version.yml +++ b/.github/workflows/new-version.yml @@ -37,4 +37,5 @@ jobs: issues: write with: pkg: ${{ matrix.pkg }} + complain: ${{ github.event_name == 'workflow_call' }} secrets: inherit diff --git a/.github/workflows/pkg-platform.yml b/.github/workflows/pkg-platform.yml index 3079a33a..35278c6f 100644 --- a/.github/workflows/pkg-platform.yml +++ b/.github/workflows/pkg-platform.yml @@ -34,6 +34,9 @@ on: Indeed! You cannot leave this as `null` or undefined. Sorry, GHA is not flexible enough to efficiently work around this. type: string + complain: + type: boolean + default: false secrets: APPLE_CERTIFICATE_P12: { required: false } APPLE_CERTIFICATE_P12_PASSWORD: { required: false } @@ -223,7 +226,7 @@ jobs: complain: needs: bottle - if: failure() && !inputs.dry-run + if: failure() && !inputs.dry-run && inputs.complain runs-on: ubuntu-latest permissions: issues: write diff --git a/.github/workflows/pkg.yml b/.github/workflows/pkg.yml index f23425b0..bacd4bde 100644 --- a/.github/workflows/pkg.yml +++ b/.github/workflows/pkg.yml @@ -10,6 +10,9 @@ on: dry-run: type: boolean default: false + complain: + type: boolean + default: false jobs: plan: @@ -46,4 +49,5 @@ jobs: test-container: ${{ toJSON(matrix.platform.test-container) }} dry-run: ${{ inputs.dry-run }} tinyname: ${{ matrix.platform.tinyname }} + complain: ${{ inputs.complain }} secrets: inherit