pipecraft 0.39.1 → 0.39.3
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.
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"promote-branch.yml.tpl.d.ts","sourceRoot":"","sources":["../../../src/templates/actions/promote-branch.yml.tpl.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAEH,OAAO,EAAE,KAAK,aAAa,EAA0B,MAAM,uBAAuB,CAAA;AAKlF,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,sBAAsB,CAAA;
|
|
1
|
+
{"version":3,"file":"promote-branch.yml.tpl.d.ts","sourceRoot":"","sources":["../../../src/templates/actions/promote-branch.yml.tpl.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAEH,OAAO,EAAE,KAAK,aAAa,EAA0B,MAAM,uBAAuB,CAAA;AAKlF,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,sBAAsB,CAAA;AAoV3D;;;;;GAKG;AACH,eAAO,MAAM,QAAQ,GAAI,KAAK,aAAa,GAAG;IAAE,MAAM,CAAC,EAAE,OAAO,CAAC,eAAe,CAAC,CAAA;CAAE,iBAgB/E,CAAA"}
|
|
@@ -22,6 +22,10 @@ const promoteBranchActionTemplate = (ctx) => {
|
|
|
22
22
|
description: 'Promote code from source to target branch via temporary branch + PR'
|
|
23
23
|
author: 'PipeCraft'
|
|
24
24
|
|
|
25
|
+
branding:
|
|
26
|
+
icon: 'git-merge'
|
|
27
|
+
color: 'purple'
|
|
28
|
+
|
|
25
29
|
inputs:
|
|
26
30
|
sourceBranch:
|
|
27
31
|
description: 'Source branch to promote from (defaults to github.ref_name)'
|
|
@@ -53,11 +57,11 @@ const promoteBranchActionTemplate = (ctx) => {
|
|
|
53
57
|
|
|
54
58
|
outputs:
|
|
55
59
|
prNumber:
|
|
56
|
-
description: 'The created PR number'
|
|
57
|
-
value: \${{ steps.create-pr.outputs.prNumber }}
|
|
60
|
+
description: 'The created or existing PR number'
|
|
61
|
+
value: \${{ steps.check-pr.outputs.prNumber || steps.create-pr.outputs.prNumber }}
|
|
58
62
|
prUrl:
|
|
59
|
-
description: 'The created PR URL'
|
|
60
|
-
value: \${{ steps.create-pr.outputs.prUrl }}
|
|
63
|
+
description: 'The created or existing PR URL'
|
|
64
|
+
value: \${{ steps.check-pr.outputs.prUrl || steps.create-pr.outputs.prUrl }}
|
|
61
65
|
tempBranch:
|
|
62
66
|
description: 'The temporary branch name'
|
|
63
67
|
value: \${{ steps.create-temp.outputs.tempBranch }}
|
|
@@ -71,6 +75,12 @@ const promoteBranchActionTemplate = (ctx) => {
|
|
|
71
75
|
fetch-depth: 0
|
|
72
76
|
token: \${{ inputs.token }}
|
|
73
77
|
|
|
78
|
+
- name: Configure Git
|
|
79
|
+
shell: bash
|
|
80
|
+
run: |
|
|
81
|
+
git config user.name "github-actions[bot]"
|
|
82
|
+
git config user.email "github-actions[bot]@users.noreply.github.com"
|
|
83
|
+
|
|
74
84
|
- name: Get Version
|
|
75
85
|
id: get-version
|
|
76
86
|
shell: bash
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"promote-branch.yml.tpl.js","sourceRoot":"","sources":["../../../src/templates/actions/promote-branch.yml.tpl.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAEH,OAAO,EAAsB,cAAc,EAAE,MAAM,EAAE,MAAM,uBAAuB,CAAA;AAClF,OAAO,MAAM,MAAM,QAAQ,CAAA;AAC3B,OAAO,EAAE,MAAM,IAAI,CAAA;AACnB,OAAO,EAAE,MAAM,EAAE,MAAM,uBAAuB,CAAA;AAC9C,OAAO,EAAE,kBAAkB,EAAE,qBAAqB,EAAE,MAAM,iCAAiC,CAAA;AAG3F;;;;;GAKG;AACH,MAAM,2BAA2B,GAAG,CAAC,GAAQ,EAAE,EAAE;IAC/C,OAAO,MAAM,CAAA
|
|
1
|
+
{"version":3,"file":"promote-branch.yml.tpl.js","sourceRoot":"","sources":["../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,CAAC,MAAM,CAAC,CAAA;IAC5C,MAAM,QAAQ,GAAG,GAAG,SAAS,4BAA4B,CAAA;IACzD,MAAM,MAAM,GAAG,EAAE,CAAC,UAAU,CAAC,QAAQ,CAAC,CAAA;IACtC,MAAM,MAAM,GAAG,MAAM,CAAC,CAAC,CAAC,yBAAyB,CAAC,CAAC,CAAC,gBAAgB,CAAA;IACpE,MAAM,CAAC,OAAO,CAAC,GAAG,MAAM,IAAI,QAAQ,EAAE,CAAC,CAAA;IAEvC,OAAO,cAAc,CAAC,2BAA2B,EAAE,MAAM,CAAC,QAAQ,CAAC,CAAC,CAAC,GAAG,CAAC,CAAA;AAC3E,CAAC,CAAC,CAAA"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "pipecraft",
|
|
3
|
-
"version": "0.39.
|
|
3
|
+
"version": "0.39.3",
|
|
4
4
|
"description": "Automated CI/CD pipeline generator for trunk-based development. Generates intelligent GitHub Actions workflows with domain-based change detection, semantic versioning, and branch flow management. Full documentation: https://pipecraft.thecraftlab.dev",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"type": "module",
|