@pixpilot/scaffoldfy-configs 0.40.1 → 0.40.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.
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,17 @@
|
|
|
1
1
|
# @pixpilot/scaffoldfy-configs
|
|
2
2
|
|
|
3
|
+
## 0.40.3
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- add notification step for release failure
|
|
8
|
+
|
|
9
|
+
## 0.40.2
|
|
10
|
+
|
|
11
|
+
### Patch Changes
|
|
12
|
+
|
|
13
|
+
- update REGISTRY_TOKEN usage in release workflow
|
|
14
|
+
|
|
3
15
|
## 0.40.1
|
|
4
16
|
|
|
5
17
|
### Patch Changes
|
package/package.json
CHANGED
|
@@ -21,9 +21,8 @@ jobs:
|
|
|
21
21
|
permissions:
|
|
22
22
|
contents: write
|
|
23
23
|
pull-requests: write
|
|
24
|
-
# Publishing targets GitHub Packages (publishConfig.registry in each
|
|
25
|
-
#
|
|
26
|
-
# trusted publishing.
|
|
24
|
+
# Publishing targets GitHub Packages (publishConfig.registry in each package.json),
|
|
25
|
+
# which authenticates with a token rather than npm OIDC trusted publishing.
|
|
27
26
|
packages: write
|
|
28
27
|
|
|
29
28
|
steps:
|
|
@@ -55,10 +54,23 @@ jobs:
|
|
|
55
54
|
uses: pixpilot/changesets-autopilot@v1
|
|
56
55
|
with:
|
|
57
56
|
GITHUB_TOKEN: ${{ steps.app_token.outputs.token }}
|
|
58
|
-
#
|
|
59
|
-
#
|
|
60
|
-
#
|
|
61
|
-
|
|
62
|
-
REGISTRY_TOKEN: ${{ steps.app_token.outputs.token }}
|
|
57
|
+
# GitHub Packages auth. Must be a token with write:packages on the
|
|
58
|
+
# package scope; npm OIDC trusted publishing is npmjs-only.
|
|
59
|
+
# https://github.com/pixpilot-private
|
|
60
|
+
REGISTRY_TOKEN: ${{ secrets.PIXPILOT_PRIVATE_REGISTRY_TOKEN }}
|
|
63
61
|
# npm provenance attestation is not supported by npm.pkg.github.com.
|
|
64
62
|
provenance: 'false'
|
|
63
|
+
|
|
64
|
+
notify:
|
|
65
|
+
name: Notify on Release Failure
|
|
66
|
+
needs: [ci, release]
|
|
67
|
+
if: always()
|
|
68
|
+
runs-on: ubuntu-latest
|
|
69
|
+
|
|
70
|
+
steps:
|
|
71
|
+
- name: Send Telegram notification
|
|
72
|
+
uses: pixpilot/notify-action@v1
|
|
73
|
+
with:
|
|
74
|
+
status: ${{ contains(needs.*.result, 'failure') && 'failure' || contains(needs.*.result, 'cancelled') && 'cancelled' || 'success' }}
|
|
75
|
+
telegram-bot-token: ${{ secrets.TELEGRAM_BOT_TOKEN }}
|
|
76
|
+
telegram-chat-id: ${{ secrets.TELEGRAM_CHAT_ID }}
|
|
@@ -48,3 +48,17 @@ jobs:
|
|
|
48
48
|
with:
|
|
49
49
|
GITHUB_TOKEN: ${{ steps.app_token.outputs.token }}
|
|
50
50
|
provenance: 'true'
|
|
51
|
+
|
|
52
|
+
notify:
|
|
53
|
+
name: Notify on Release Failure
|
|
54
|
+
needs: [ci, release]
|
|
55
|
+
if: always()
|
|
56
|
+
runs-on: ubuntu-latest
|
|
57
|
+
|
|
58
|
+
steps:
|
|
59
|
+
- name: Send Telegram notification
|
|
60
|
+
uses: pixpilot/notify-action@v1
|
|
61
|
+
with:
|
|
62
|
+
status: ${{ contains(needs.*.result, 'failure') && 'failure' || contains(needs.*.result, 'cancelled') && 'cancelled' || 'success' }}
|
|
63
|
+
telegram-bot-token: ${{ secrets.TELEGRAM_BOT_TOKEN }}
|
|
64
|
+
telegram-chat-id: ${{ secrets.TELEGRAM_CHAT_ID }}
|