mirror of
https://github.com/awatertrevi/infisical.git
synced 2026-10-17 08:35:52 +00:00
feat(workflow-integration): enhance project workflow integration with secret sync error notifications and improve Slack notification formatting
This commit is contained in:
@@ -932,7 +932,9 @@ export const secretSyncQueueFactory = ({
|
||||
break;
|
||||
}
|
||||
|
||||
const syncPath = `/projects/secret-management/${projectId}/integrations/secret-syncs/${destination}/${secretSync.id}`;
|
||||
const baseProjectPath = `/projects/secret-management/${projectId}`;
|
||||
const overviewPath = `${baseProjectPath}/overview`;
|
||||
const syncPath = `${baseProjectPath}/integrations/secret-syncs/${destination}/${secretSync.id}`;
|
||||
|
||||
const notifications = [
|
||||
triggerWorkflowIntegrationNotification({
|
||||
@@ -944,10 +946,14 @@ export const secretSyncQueueFactory = ({
|
||||
syncDestination,
|
||||
failureMessage: failureMessage || "An unknown error occurred",
|
||||
syncUrl: `${appCfg.SITE_URL}${syncPath}`,
|
||||
syncActionLabel: actionLabel
|
||||
syncActionLabel: actionLabel,
|
||||
environment: environment?.name || "-",
|
||||
secretPath: folder?.path || "-",
|
||||
projectName: project.name,
|
||||
projectPath: overviewPath
|
||||
}
|
||||
},
|
||||
projectId: project.id
|
||||
projectId
|
||||
},
|
||||
dependencies: {
|
||||
projectDAL,
|
||||
|
||||
Reference in New Issue
Block a user