Skip to content

Commit 520fe85

Browse files
committed
make assertion optional
1 parent d075e1b commit 520fe85

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

.github/workflows/release-branch.yml

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,11 +17,11 @@ on:
1717
type: string
1818
uploadAzure:
1919
description: 'Publish packages Azure storage'
20-
default: true
20+
default: false
2121
type: boolean
2222
publishPackages:
2323
description: 'Publish packages to nginx repo'
24-
default: true
24+
default: false
2525
type: boolean
2626
tagRelease:
2727
description: 'Add tag to release branch'
@@ -39,6 +39,11 @@ on:
3939
description: 'Location to publish packages to'
4040
required: false
4141
default: "https://up-ap.nginx.com"
42+
type: string
43+
assertionDoc:
44+
description: 'Generate assertion document'
45+
default: false
46+
type: boolean
4247

4348
env:
4449
NFPM_VERSION: 'v2.35.3'
@@ -291,6 +296,7 @@ jobs:
291296
name: Build and Generate Assertion Document
292297
runs-on: ubuntu-22.04
293298
needs: [build-and-upload-packages]
299+
if : ${{ inputs.assertionDoc == true }}
294300
continue-on-error: true
295301
permissions:
296302
contents: read

0 commit comments

Comments
 (0)