Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 1 addition & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ permissions:

on:
release:
types: [published]
types: [released]
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Potential issue | 🔴 Critical

Restore the release trigger to published.

Using types: [released] only fires when a prerelease is promoted to a full release. Regular releases published directly from draft (the common path) emit the published activity instead, so this workflow will stop running on new releases.(docs.github.com)

-    types: [released]
+    types: [published]
📝 Committable suggestion

‼️ IMPORTANT
Carefully review the code before committing. Ensure that it accurately replaces the highlighted code, contains no missing lines, and has no issues with indentation. Thoroughly test & benchmark the code to ensure it meets the requirements.

Suggested change
types: [released]
types: [published]
🤖 Prompt for AI Agents
In .github/workflows/release.yml around line 9 the workflow trigger uses types:
[released], which only fires when a prerelease is promoted; replace it with
types: [published] so the workflow runs for normal release publishes (i.e., set
types: [published] under the release trigger), verify YAML indentation/syntax
remains correct, and commit the change.


jobs:
release:
Expand All @@ -28,8 +28,6 @@ jobs:
with:
node-version: 22.x
registry-url: "https://registry.npmjs.org"
cache: "pnpm"
always-auth: true

- name: Install pnpm
uses: pnpm/action-setup@a7487c7e89a18df4991f7f222e4898a00d66ddda # v4.1.0
Expand Down