Infisical is the open-source platform for securing secrets, certificates, access, and AI Agents.
TypeScript acmeagentsai-agentscertificate-managementdevsecopsenvironment-variableskubernetesopen-sourcepampkipostgresprivate-caprivileged-access-managementsecret-managementsecret-managersecretssecrets-managementsecuritysecurity-toolsvault
Delete actions folder
Tuan Danga763d8b8edc8
diff --git a/backend/src/actions/index.ts b/backend/src/actions/index.tsdeleted file mode 100644index 25f85cc389..0000000000--- a/backend/src/actions/index.ts+++ /dev/null@@ -1,7 +0,0 @@-import {- actionPushToHeroku-} from './integration';--export {- actionPushToHeroku-}\ No newline at end of filediff --git a/backend/src/actions/integration.ts b/backend/src/actions/integration.tsdeleted file mode 100644index d9bff4fd19..0000000000--- a/backend/src/actions/integration.ts+++ /dev/null@@ -1,50 +0,0 @@-import {- Key,- Bot,- IBot,- Integration,- IntegrationAuth-} from '../models';-import * as Sentry from '@sentry/node';-import { BotService } from '../services';--interface Event {- name: string;- workspaceId: string;- payload: any;-}--/**- * Push secrets to Heroku- * @param {Object} obj- * @param {Event} obj.event- * @param {IBot} obj.bot- */-const actionPushToHeroku = ({- event,- bot-}: {- event: Event,- bot: IBot-}) => {-- // TODO: push secrets in [event]- // event: name, workspaceId, payload (environment, secrets)- try {-- // 1. Bot needs to decrypt their project key- // 2. Bot needs to decrypt secrets- // 3. Query IntegrationAuth for credentials- // 4. Decrypt integration refresh and token- // 5. Query Integration for integration details- // 6. Push to integration-- } catch (err) {- Sentry.setUser(null);- Sentry.captureException(err);- }-}--export {- actionPushToHeroku-}\ No newline at end of file