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
|
issues: write
|
||||||
with:
|
with:
|
||||||
pkg: ${{ matrix.pkg }}
|
pkg: ${{ matrix.pkg }}
|
||||||
|
complain: ${{ github.event_name == 'workflow_call' }}
|
||||||
secrets: inherit
|
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.
|
Indeed! You cannot leave this as `null` or undefined.
|
||||||
Sorry, GHA is not flexible enough to efficiently work around this.
|
Sorry, GHA is not flexible enough to efficiently work around this.
|
||||||
type: string
|
type: string
|
||||||
|
complain:
|
||||||
|
type: boolean
|
||||||
|
default: false
|
||||||
secrets:
|
secrets:
|
||||||
APPLE_CERTIFICATE_P12: { required: false }
|
APPLE_CERTIFICATE_P12: { required: false }
|
||||||
APPLE_CERTIFICATE_P12_PASSWORD: { required: false }
|
APPLE_CERTIFICATE_P12_PASSWORD: { required: false }
|
||||||
|
@ -223,7 +226,7 @@ jobs:
|
||||||
|
|
||||||
complain:
|
complain:
|
||||||
needs: bottle
|
needs: bottle
|
||||||
if: failure() && !inputs.dry-run
|
if: failure() && !inputs.dry-run && inputs.complain
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
permissions:
|
permissions:
|
||||||
issues: write
|
issues: write
|
||||||
|
|
4
.github/workflows/pkg.yml
vendored
4
.github/workflows/pkg.yml
vendored
|
@ -10,6 +10,9 @@ on:
|
||||||
dry-run:
|
dry-run:
|
||||||
type: boolean
|
type: boolean
|
||||||
default: false
|
default: false
|
||||||
|
complain:
|
||||||
|
type: boolean
|
||||||
|
default: false
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
plan:
|
plan:
|
||||||
|
@ -46,4 +49,5 @@ jobs:
|
||||||
test-container: ${{ toJSON(matrix.platform.test-container) }}
|
test-container: ${{ toJSON(matrix.platform.test-container) }}
|
||||||
dry-run: ${{ inputs.dry-run }}
|
dry-run: ${{ inputs.dry-run }}
|
||||||
tinyname: ${{ matrix.platform.tinyname }}
|
tinyname: ${{ matrix.platform.tinyname }}
|
||||||
|
complain: ${{ inputs.complain }}
|
||||||
secrets: inherit
|
secrets: inherit
|
||||||
|
|
Loading…
Reference in a new issue