Skip to content

Commit 161d1ea

Browse files
committed
ci: replace softprops/action-gh-release with gh CLI (org policy)
1 parent 500176f commit 161d1ea

1 file changed

Lines changed: 24 additions & 24 deletions

File tree

.github/workflows/release-node.yaml

Lines changed: 24 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -58,21 +58,21 @@ jobs:
5858
run: npm publish --access public --provenance
5959

6060
- name: Create GitHub Release
61-
uses: softprops/action-gh-release@v2
62-
with:
63-
tag_name: ${{ github.ref_name }}
64-
name: "CLI v${{ steps.meta.outputs.version }}"
65-
generate_release_notes: true
66-
body: |
67-
## 📦 @pixelml/agenticflow-cli@${{ steps.meta.outputs.version }}
61+
env:
62+
GH_TOKEN: ${{ github.token }}
63+
run: |
64+
gh release create "${{ github.ref_name }}" \
65+
--title "CLI v${{ steps.meta.outputs.version }}" \
66+
--generate-notes \
67+
--notes "## 📦 @pixelml/agenticflow-cli@${{ steps.meta.outputs.version }}
6868
69-
```bash
70-
npm install -g @pixelml/agenticflow-cli@${{ steps.meta.outputs.version }}
71-
```
69+
\`\`\`bash
70+
npm install -g @pixelml/agenticflow-cli@${{ steps.meta.outputs.version }}
71+
\`\`\`
7272
73-
[View on npm](https://www.npmjs.com/package/@pixelml/agenticflow-cli/v/${{ steps.meta.outputs.version }})
73+
[View on npm](https://www.npmjs.com/package/@pixelml/agenticflow-cli/v/${{ steps.meta.outputs.version }})
7474
75-
---
75+
---"
7676
7777
- name: Summary
7878
run: |
@@ -121,21 +121,21 @@ jobs:
121121
run: npm publish --access public --provenance
122122

123123
- name: Create GitHub Release
124-
uses: softprops/action-gh-release@v2
125-
with:
126-
tag_name: ${{ github.ref_name }}
127-
name: "SDK v${{ steps.meta.outputs.version }}"
128-
generate_release_notes: true
129-
body: |
130-
## 📦 @pixelml/agenticflow-sdk@${{ steps.meta.outputs.version }}
124+
env:
125+
GH_TOKEN: ${{ github.token }}
126+
run: |
127+
gh release create "${{ github.ref_name }}" \
128+
--title "SDK v${{ steps.meta.outputs.version }}" \
129+
--generate-notes \
130+
--notes "## 📦 @pixelml/agenticflow-sdk@${{ steps.meta.outputs.version }}
131131
132-
```bash
133-
npm install @pixelml/agenticflow-sdk@${{ steps.meta.outputs.version }}
134-
```
132+
\`\`\`bash
133+
npm install @pixelml/agenticflow-sdk@${{ steps.meta.outputs.version }}
134+
\`\`\`
135135
136-
[View on npm](https://www.npmjs.com/package/@pixelml/agenticflow-sdk/v/${{ steps.meta.outputs.version }})
136+
[View on npm](https://www.npmjs.com/package/@pixelml/agenticflow-sdk/v/${{ steps.meta.outputs.version }})
137137
138-
---
138+
---"
139139
140140
- name: Summary
141141
run: |

0 commit comments

Comments
 (0)