Fix Global workflows not pinned (#16728)

A bug was reported where workflow actions marked as Pinned were actually
not pinned in the top right

In workflow edit:
<img width="400" height="379" alt="image"
src="https://github.com/user-attachments/assets/adea9b4e-c898-4395-8cbf-d21282770fac"
/>

Consequence on Header:
<img width="400" height="53" alt="image"
src="https://github.com/user-attachments/assets/a39e4201-2450-4566-978a-7f464d3a64f0"
/>
This commit is contained in:
Charles Bochet
2025-12-20 12:29:45 +01:00
committed by GitHub
parent 9984981e82
commit 9c49f4ba82
@@ -41,7 +41,9 @@ export const useRunWorkflowRecordAgnosticActions = () => {
key: `workflow-run-${activeWorkflowVersion.id}`,
scope: ActionScope.Global,
label: name,
shortLabel: name,
position: index,
isPinned: activeWorkflowVersion.trigger?.settings?.isPinned,
Icon,
shouldBeRegistered: () => true,
component: (