mirror of
https://github.com/ivabus/pantry
synced 2024-11-22 08:25:07 +03:00
Only complain for automation driven builds
This commit is contained in:
parent
46540dc500
commit
961a4f65e7
3 changed files with 9 additions and 1 deletions
1
.github/workflows/new-version.yml
vendored
1
.github/workflows/new-version.yml
vendored
|
@ -37,4 +37,5 @@ jobs:
|
|||
issues: write
|
||||
with:
|
||||
pkg: ${{ matrix.pkg }}
|
||||
complain: ${{ github.event_name == 'workflow_call' }}
|
||||
secrets: inherit
|
||||
|
|
5
.github/workflows/pkg-platform.yml
vendored
5
.github/workflows/pkg-platform.yml
vendored
|
@ -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
|
||||
|
|
4
.github/workflows/pkg.yml
vendored
4
.github/workflows/pkg.yml
vendored
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue