@kungfu-tech/buildchain 2.4.10 → 2.4.11-alpha.1
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.
|
@@ -61,7 +61,7 @@ steps:
|
|
|
61
61
|
- uses: kungfu-systems/buildchain/actions/report-buildchain-issue@v2
|
|
62
62
|
if: failure()
|
|
63
63
|
with:
|
|
64
|
-
token: ${{ github.token }}
|
|
64
|
+
token: ${{ secrets.BUILDCHAIN_ISSUE_TOKEN || secrets.BUILDCHAIN_PROMOTION_TOKEN || github.token }}
|
|
65
65
|
report-kind: workflow-friction
|
|
66
66
|
target-repository: ${{ github.repository }}
|
|
67
67
|
repository: ${{ github.repository }}
|
|
@@ -390,6 +390,8 @@ set is missing or ambiguous.
|
|
|
390
390
|
jobs:
|
|
391
391
|
promote:
|
|
392
392
|
uses: kungfu-systems/buildchain/.github/workflows/release-candidate-promote.yml@v2
|
|
393
|
+
secrets:
|
|
394
|
+
buildchain-issue-token: ${{ secrets.BUILDCHAIN_ISSUE_TOKEN }}
|
|
393
395
|
with:
|
|
394
396
|
channel: alpha
|
|
395
397
|
target-ref: alpha/v22/v22.22
|
|
@@ -410,6 +412,13 @@ jobs:
|
|
|
410
412
|
release-passport-product-name: Libnode
|
|
411
413
|
```
|
|
412
414
|
|
|
415
|
+
`buildchain-issue-token` is optional but recommended for cross-repository
|
|
416
|
+
consumers. It should be a GitHub App installation token or other scoped token
|
|
417
|
+
with `issues: write` on `kungfu-systems/buildchain`. If omitted, the wrapper
|
|
418
|
+
falls back to `BUILDCHAIN_PROMOTION_TOKEN` and then the consumer workflow's
|
|
419
|
+
`github.token`; the last fallback can only report issues when it has write
|
|
420
|
+
access to the target Buildchain repository.
|
|
421
|
+
|
|
413
422
|
`publish-required-artifacts-json` can still be passed explicitly for custom
|
|
414
423
|
publish targets. For the default `publish-artifact-kind: npm` path, consumers do
|
|
415
424
|
not download artifacts or run repository scripts to build publish evidence. The
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@kungfu-tech/buildchain",
|
|
3
|
-
"version": "2.4.
|
|
3
|
+
"version": "2.4.11-alpha.1",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "Buildchain Release Passport, release governance, CLI toolkit, and site facts.",
|
|
6
6
|
"repository": "https://github.com/kungfu-systems/buildchain",
|