@postman-cse/onboarding-api 0.11.0 → 0.12.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -0
- package/action.yml +5 -0
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -127,6 +127,7 @@ Even when reusing an existing `spec-id`, the composite action still requires `sp
|
|
|
127
127
|
| `baseline-collection-id` | | Reuse an existing baseline collection. |
|
|
128
128
|
| `smoke-collection-id` | | Reuse an existing smoke collection. |
|
|
129
129
|
| `contract-collection-id` | | Reuse an existing contract collection. |
|
|
130
|
+
| `sync-examples` | `true` | Whether linked spec/collection relations should enable example syncing during cloud linkage. |
|
|
130
131
|
| `collection-sync-mode` | `refresh` | Collection lifecycle policy. `refresh` regenerates from latest spec (default), `reuse` keeps existing, `version` creates release-scoped collections. |
|
|
131
132
|
| `spec-sync-mode` | `update` | Spec lifecycle policy. `update` keeps canonical spec current, `version` creates release-scoped spec. |
|
|
132
133
|
| `release-label` | | Optional release label for versioned specs and collections. Derived from git tag/branch when omitted. |
|
package/action.yml
CHANGED
|
@@ -17,6 +17,10 @@ inputs:
|
|
|
17
17
|
contract-collection-id:
|
|
18
18
|
description: Existing contract collection ID.
|
|
19
19
|
required: false
|
|
20
|
+
sync-examples:
|
|
21
|
+
description: Whether linked spec/collection relations should enable example syncing.
|
|
22
|
+
required: false
|
|
23
|
+
default: 'true'
|
|
20
24
|
collection-sync-mode:
|
|
21
25
|
description: Collection lifecycle policy (reuse, refresh, or version). Default refresh ensures collections stay in sync with the spec.
|
|
22
26
|
required: false
|
|
@@ -204,6 +208,7 @@ runs:
|
|
|
204
208
|
baseline-collection-id: ${{ inputs.baseline-collection-id }}
|
|
205
209
|
smoke-collection-id: ${{ inputs.smoke-collection-id }}
|
|
206
210
|
contract-collection-id: ${{ inputs.contract-collection-id }}
|
|
211
|
+
sync-examples: ${{ inputs.sync-examples }}
|
|
207
212
|
collection-sync-mode: ${{ inputs.collection-sync-mode }}
|
|
208
213
|
spec-sync-mode: ${{ inputs.spec-sync-mode }}
|
|
209
214
|
release-label: ${{ inputs.release-label }}
|