Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
32 commits
Select commit Hold shift + click to select a range
537c7a7
Merge pull request #257 from contentstack/main
harshitha-cstk Jun 30, 2026
60e5a43
fix: added dependency overrides
cs-raj Jul 6, 2026
c85e320
fix: resolve Snyk hardcoded secret false positives in message constants
harshitha-cstk Jul 6, 2026
2a460ec
fix: resolve Snyk hardcoded Non-Cryptographic Secret false positives…
harshitha-cstk Jul 6, 2026
a1ff049
fix: resolve Snyk hardcoded secret false positives in message constants
harshitha-cstk Jul 6, 2026
236f5fa
fix: resolve Snyk hardcoded secret false positives in message constants
harshitha-cstk Jul 6, 2026
5f51b4a
fix: sanitize remote-derived filesystem paths in migrate:create (Snyk…
harshitha-cstk Jul 6, 2026
3a5f898
fix ES module directory import in messages test
harshitha-cstk Jul 6, 2026
5ac25d9
fix: resolve Snyk hardcoded secret false positives in message constants
harshitha-cstk Jul 7, 2026
1f41a5f
revert the import changes
harshitha-cstk Jul 7, 2026
3db996d
Merge branch 'fix/dx-8733-snyk-fix' into fix/dx-8733-snyk-fix-low-risk
harshitha-cstk Jul 7, 2026
43ff468
fix formatting
harshitha-cstk Jul 7, 2026
c6bb750
fixed snyk issues
Jul 8, 2026
a4644aa
Merge pull request #278 from contentstack/fix/snyk-issues0807
shafeeqd959 Jul 8, 2026
d2cc438
Merge branch 'development' into fix/dx-8733-snyk-fix
harshitha-cstk Jul 9, 2026
b03b2bf
Merge pull request #273 from contentstack/fix/dx-8733-snyk-fix
harshitha-cstk Jul 9, 2026
2f16ab3
Merge branch 'development' into fix/dx-8733-snyk-fix-low-risk
harshitha-cstk Jul 9, 2026
9d2e4de
fix: hardcoded secret issue
harshitha-cstk Jul 9, 2026
9b06bce
Updated JS-YAML to 4.3.0
cs-raj Jul 9, 2026
96af471
update pnpm lock
harshitha-cstk Jul 9, 2026
b73c5b7
fix: hardcoded secret issue
harshitha-cstk Jul 9, 2026
d6eef3b
Merge pull request #279 from contentstack/fix/dx-8733-snyk-fix-low-risk
harshitha-cstk Jul 9, 2026
9cf9514
fix(personalize,import): fix CT linking failure from empty-audience e…
cs-raj Jul 10, 2026
b8585cc
revert: restore package.json test script and test files unrelated to …
cs-raj Jul 10, 2026
b530110
Merge branch 'development' into fix/DX-9469
cs-raj Jul 10, 2026
8dcd10a
test(import): update entries test to reflect publish loop running wit…
cs-raj Jul 10, 2026
bf088a2
fix(import): restore entries.ts source — revert accidental source change
cs-raj Jul 10, 2026
a6596a6
fix(personalize): address PR review comments on fix/DX-9469
cs-raj Jul 10, 2026
ea05a5e
fix(variants): guard versionMap against unrecognized status values [D…
cs-raj Jul 10, 2026
faf0c2c
Merge pull request #280 from contentstack/fix/DX-9469
cs-raj Jul 10, 2026
77a0165
chore: version bump
cs-raj Jul 10, 2026
b034f37
Merge pull request #285 from contentstack/fix/version-bump
cs-raj Jul 10, 2026
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
2 changes: 1 addition & 1 deletion .talismanrc
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
fileignoreconfig:
- filename: pnpm-lock.yaml
checksum: 07642e8dd04d580185a459e5b088d8a1bb4e91be4e04f4842bf4fe4775205bf6
checksum: 4be4721031793b5ec6957b17778969b715ded2d15a6b6231b6c066735abd7233
version: '1.0'
2 changes: 1 addition & 1 deletion packages/contentstack-apps-cli/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@contentstack/apps-cli",
"version": "1.7.1",
"version": "1.7.2",
"description": "App ClI",
"author": "Contentstack CLI",
"homepage": "https://github.com/contentstack/cli-plugins/tree/main/packages/contentstack-apps-cli",
Expand Down
4 changes: 2 additions & 2 deletions packages/contentstack-apps-cli/src/commands/app/install.ts
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ export default class Install extends AppCLIBaseCommand {
description: commonMsg.APP_UID,
}),
"stack-api-key": flags.string({
description: commonMsg.STACK_API_KEY,
description: commonMsg.STACK_API_KEY_placeholder,
}),
...AppCLIBaseCommand.baseFlags,
};
Expand Down Expand Up @@ -88,7 +88,7 @@ export default class Install extends AppCLIBaseCommand {
// in case a stack app is selected and no stack-api-key is provided
if (appType === "stack" && !this.flags["stack-api-key"]) {
this.log(
$t(installAppMsg.MISSING_STACK_API_KEY, {
$t(installAppMsg.MISSING_STACK_API_KEY_placeholder, {
app: app?.name || app?.uid,
}),
"warn"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ export default class Reinstall extends AppCLIBaseCommand {
description: commonMsg.APP_UID,
}),
"stack-api-key": flags.string({
description: commonMsg.STACK_API_KEY,
description: commonMsg.STACK_API_KEY_placeholder,
}),
...AppCLIBaseCommand.baseFlags,
};
Expand Down Expand Up @@ -84,7 +84,7 @@ export default class Reinstall extends AppCLIBaseCommand {
appType = "stack";

this.log(
$t(reinstallAppMsg.MISSING_STACK_API_KEY, {
$t(reinstallAppMsg.MISSING_STACK_API_KEY_placeholder, {
app: app?.name || app?.uid,
}),
"warn"
Expand Down
6 changes: 3 additions & 3 deletions packages/contentstack-apps-cli/src/messages/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ const commonMsg = {
APP_UID: "Provide the app UID of an existing app.",
APP_TYPE_DESCRIPTION: "Type of app",
CONTACT_SUPPORT: "Contact the support team for help.",
STACK_API_KEY: "API key of the stack where the app operation is to be performed.",
STACK_API_KEY_placeholder: "API key of the stack where the app operation is to be performed.",
USER_TERMINATION: "Process terminated by the user.",
CLI_APP_CLI_LOGIN_FAILED: "You're not logged in. Run $ csdx auth:login to continue."
};
Expand Down Expand Up @@ -97,7 +97,7 @@ const installAppMsg = {
CHOOSE_A_STACK: "Please select a stack",
APP_INSTALLED_SUCCESSFULLY: "{app} installed successfully in {target}.",
INSTALL_ORG_APP_TO_STACK: "{app} is an organization app. It cannot be installed to a stack. Do you want to proceed?",
MISSING_STACK_API_KEY: "As {app} is a stack app, it can only be installed in a stack. Please select a stack.",
MISSING_STACK_API_KEY_placeholder: "As {app} is a stack app, it can only be installed in a stack. Please select a stack.",
INSTALLING_APP_NOTICE: "Installing {app} on {type} {target}.",
APP_ALREADY_INSTALLED: "Please use $ csdx app:reinstall to reinstall the app.",
}
Expand All @@ -115,7 +115,7 @@ const reinstallAppMsg = {
CHOOSE_A_STACK: "Please select a stack",
APP_REINSTALLED_SUCCESSFULLY: "{app} reinstalled successfully in {target}.",
REINSTALL_ORG_APP_TO_STACK: "{app} is an organization app. It cannot be reinstalled to a stack. Do you want to proceed?",
MISSING_STACK_API_KEY: "As {app} is a stack app, it can only be reinstalled in a stack. Please select a stack.",
MISSING_STACK_API_KEY_placeholder: "As {app} is a stack app, it can only be reinstalled in a stack. Please select a stack.",
REINSTALLING_APP_NOTICE: "Reinstalling {app} on {type} {target}.",
APP_UID: "Provide the app UID of an existing app to be reinstalled.",
APP_ALREADY_LATEST_VERSION: "The application is already up to date; no new version is available.",
Expand Down
2 changes: 1 addition & 1 deletion packages/contentstack-bulk-operations/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@contentstack/cli-bulk-operations",
"version": "1.2.1",
"version": "1.2.2",
"description": "Contentstack CLI plugin for bulk operations",
"author": "Contentstack CLI",
"homepage": "https://github.com/contentstack/cli-plugins/tree/main/packages/contentstack-bulk-operations",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@
}),
'stack-api-key': flags.string({
char: 'k',
description: messages.STACK_API_KEY,
description: messages.STACK_API_KEY_placeholder,
}),
operation: flags.string({
description: messages.OPERATION,
Expand Down Expand Up @@ -124,8 +124,8 @@

protected managementStack!: ManagementStack;
protected deliveryStack!: DeliveryStack | null;
protected logger: any;

Check warning on line 127 in packages/contentstack-bulk-operations/src/base-bulk-command.ts

View workflow job for this annotation

GitHub Actions / run-tests

Unexpected any. Specify a different type
protected loggerContext: any;

Check warning on line 128 in packages/contentstack-bulk-operations/src/base-bulk-command.ts

View workflow job for this annotation

GitHub Actions / run-tests

Unexpected any. Specify a different type
protected bulkOperationConfig!: BulkOperationConfig;
protected bulkService!: BulkOperationService;
protected queueManager!: QueueManager;
Expand All @@ -133,7 +133,7 @@
protected retryStrategy!: RetryStrategy;
protected operationExecutor!: OperationExecutor;
private batchResults: Map<string, BulkJobResult> = new Map();
protected parsedFlags: any;

Check warning on line 136 in packages/contentstack-bulk-operations/src/base-bulk-command.ts

View workflow job for this annotation

GitHub Actions / run-tests

Unexpected any. Specify a different type

/**
* Initialize common components
Expand Down Expand Up @@ -184,7 +184,7 @@
* Initialize for revert/retry operations
* All configuration is loaded from the log file - no other flags needed
*/
private async initForRevertOrRetry(flags: any): Promise<void> {

Check warning on line 187 in packages/contentstack-bulk-operations/src/base-bulk-command.ts

View workflow job for this annotation

GitHub Actions / run-tests

Unexpected any. Specify a different type
const logPath = flags.revert || flags['retry-failed'];
const isRetry = !!flags['retry-failed'];

Expand Down Expand Up @@ -230,7 +230,7 @@
let stackConfig;
try {
stackConfig = setupStackConfig(flags, this.cmaHost, this.cdaHost);
} catch (error: any) {

Check warning on line 233 in packages/contentstack-bulk-operations/src/base-bulk-command.ts

View workflow job for this annotation

GitHub Actions / run-tests

Unexpected any. Specify a different type
throw error;
}

Expand All @@ -247,7 +247,7 @@
if (flags.branch && !flags.revert && !flags['retry-failed']) {
try {
await validateBranch(this.managementStack, flags.branch, this.logger);
} catch (error: any) {

Check warning on line 250 in packages/contentstack-bulk-operations/src/base-bulk-command.ts

View workflow job for this annotation

GitHub Actions / run-tests

Unexpected any. Specify a different type
throw error;
}
}
Expand All @@ -259,7 +259,7 @@
// Store environment UIDs in config for filtering operations
this.bulkOperationConfig.environmentUids = environmentUids;
this.logger.debug(`Stored environment UIDs in config: ${environmentUids.join(', ')}`, this.loggerContext);
} catch (error: any) {

Check warning on line 262 in packages/contentstack-bulk-operations/src/base-bulk-command.ts

View workflow job for this annotation

GitHub Actions / run-tests

Unexpected any. Specify a different type
throw error;
}
}
Expand All @@ -268,7 +268,7 @@
/**
* Build operation configuration
*/
protected async buildConfiguration(flags: any): Promise<void> {

Check warning on line 271 in packages/contentstack-bulk-operations/src/base-bulk-command.ts

View workflow job for this annotation

GitHub Actions / run-tests

Unexpected any. Specify a different type
this.bulkOperationConfig = buildConfig(flags);

// buildConfig splits comma-separated oclif `multiple` values; mirror onto flags so
Expand Down Expand Up @@ -348,7 +348,7 @@
/**
* Show operation summary and get confirmation
*/
protected async confirmOperation(items?: any[]): Promise<boolean> {

Check warning on line 351 in packages/contentstack-bulk-operations/src/base-bulk-command.ts

View workflow job for this annotation

GitHub Actions / run-tests

Unexpected any. Specify a different type
const flags = this.parsedFlags || (await this.parse(this.constructor as typeof BaseBulkCommand)).flags;
const itemCount = items?.length || 0;

Expand All @@ -362,7 +362,7 @@
* @param items - Items to process
* @returns Aggregated results from all operations
*/
protected async executeBulkOperation(items: any[]): Promise<BulkOperationResult> {

Check warning on line 365 in packages/contentstack-bulk-operations/src/base-bulk-command.ts

View workflow job for this annotation

GitHub Actions / run-tests

Unexpected any. Specify a different type
this.logger.debug($t(messages.EXECUTING_OPERATION, { count: items.length }), this.loggerContext);
const startTime = Date.now();

Expand Down
5 changes: 3 additions & 2 deletions packages/contentstack-bulk-operations/src/messages/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -291,7 +291,7 @@ const interactiveMsg = {
ENTER_ENVIRONMENTS: 'Enter target environments (comma-separated):',
ENTER_LOCALES: 'Enter locales (comma-separated):',
SELECT_ALIAS: 'Select alias:',
ENTER_API_KEY: 'Enter stack API key:',
ENTER_API_KEY_placeholder: 'Enter stack API key:',
ENTER_SOURCE_ENV: 'Enter source environment name:',
SELECT_SOURCE_ALIAS: 'Select delivery token alias for source environment:',

Expand Down Expand Up @@ -322,7 +322,8 @@ const flagDescriptions = {
// Common flags
ALIAS:
'Uses the name of a saved Management Token to authenticate the command. The command can only access the branches allowed for that token. This option can be used as an alternative to` --stack-api-key.`',
STACK_API_KEY: 'API key of the source stack. You must use either the --stack-api-key flag or the --alias flag.',
STACK_API_KEY_placeholder:
'API key of the source stack. You must use either the --stack-api-key flag or the --alias flag.',
OPERATION: 'Specifies whether to `publish` or `unpublish` content.',
ENVIRONMENTS:
'Specifies one or more environments where the entries or assets should be published. Separate multiple environments with spaces.',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ async function promptForStackCredentials(): Promise<{ alias?: string; apiKey?: s
const apiKey = await cliux.inquire<string>({
type: 'input',
name: 'apiKey',
message: messages.ENTER_API_KEY,
message: messages.ENTER_API_KEY_placeholder,
validate: (value) => {
if (!value || value.trim().length === 0) {
return messages.API_KEY_REQUIRED;
Expand Down Expand Up @@ -97,7 +97,7 @@ async function promptForStackCredentials(): Promise<{ alias?: string; apiKey?: s
const apiKey = await cliux.inquire<string>({
type: 'input',
name: 'apiKey',
message: messages.ENTER_API_KEY,
message: messages.ENTER_API_KEY_placeholder,
validate: (value) => {
if (!value || value.trim().length === 0) {
return messages.API_KEY_REQUIRED;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -590,6 +590,7 @@ describe('BaseBulkCommand', () => {
(command as any).bulkOperationConfig = {
publishMode: 'bulk',
apiKey: undefined,
// deepcode ignore HardcodedNonCryptoSecret: test fixture value, not a real secret
stackApiKey: 'fallback-key',
branch: 'main',
bulkOperationFolder: './bulk-operation',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ describe('Messages', () => {

it('should export flag descriptions', () => {
expect(messages.ALIAS).to.be.a('string');
expect(messages.STACK_API_KEY).to.be.a('string');
expect(messages.STACK_API_KEY_placeholder).to.be.a('string');
expect(messages.OPERATION).to.be.a('string');
});

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -197,6 +197,7 @@ describe('Bulk Operation Log Handler', () => {
locales: ['en-us'],
items: [{ uid: 'entry1' }],
status: 'success',
// deepcode ignore HardcodedNonCryptoSecret: test fixture value, not a real secret
apiKey: 'test-key',
branch: 'main',
},
Expand Down Expand Up @@ -254,6 +255,7 @@ describe('Bulk Operation Log Handler', () => {
items: [{ uid: 'entry1' }],
status: 'failed',
error: 'Network error',
// deepcode ignore HardcodedNonCryptoSecret: test fixture value, not a real secret
apiKey: 'test-key',
branch: 'main',
},
Expand Down Expand Up @@ -351,6 +353,7 @@ describe('Bulk Operation Log Handler', () => {
item: { uid: 'entry1', type: 'entry', locale: 'en-us' },
environments: ['prod'],
status: 'success',
// deepcode ignore HardcodedNonCryptoSecret: test fixture value, not a real secret
apiKey: 'test-key',
branch: 'main',
},
Expand Down Expand Up @@ -400,6 +403,7 @@ describe('Bulk Operation Log Handler', () => {
environments: ['prod'],
status: 'failed',
error: 'Network error',
// deepcode ignore HardcodedNonCryptoSecret: test fixture value, not a real secret
apiKey: 'test-key',
branch: 'main',
},
Expand Down Expand Up @@ -442,6 +446,7 @@ describe('Bulk Operation Log Handler', () => {
locales: ['en-us'],
items: [{ uid: 'entry1', type: 'entry', locale: 'en-us' }],
status: 'success',
// deepcode ignore HardcodedNonCryptoSecret: test fixture value, not a real secret
apiKey: 'test-key',
branch: 'main',
};
Expand All @@ -467,6 +472,7 @@ describe('Bulk Operation Log Handler', () => {
locales: ['en-us'],
items: [],
status: 'success',
// deepcode ignore HardcodedNonCryptoSecret: test fixture value, not a real secret
apiKey: 'test-key',
branch: 'main',
};
Expand All @@ -492,6 +498,7 @@ describe('Bulk Operation Log Handler', () => {
locales: [],
items: [],
status: 'success',
// deepcode ignore HardcodedNonCryptoSecret: test fixture value, not a real secret
apiKey: 'test-key',
branch: 'main',
};
Expand Down Expand Up @@ -528,6 +535,7 @@ describe('Bulk Operation Log Handler', () => {
items: [],
status: 'failed',
error: 'API Error',
// deepcode ignore HardcodedNonCryptoSecret: test fixture value, not a real secret
apiKey: 'test-key',
branch: 'main',
};
Expand Down Expand Up @@ -563,6 +571,7 @@ describe('Bulk Operation Log Handler', () => {
item: { uid: 'entry1', type: 'entry', locale: 'en-us' },
environments: ['prod'],
status: 'success',
// deepcode ignore HardcodedNonCryptoSecret: test fixture value, not a real secret
apiKey: 'test-key',
branch: 'main',
};
Expand All @@ -586,6 +595,7 @@ describe('Bulk Operation Log Handler', () => {
item: { uid: 'new-entry', type: 'entry', locale: 'en-us' },
environments: ['prod'],
status: 'success',
// deepcode ignore HardcodedNonCryptoSecret: test fixture value, not a real secret
apiKey: 'test-key',
branch: 'main',
};
Expand Down Expand Up @@ -622,6 +632,7 @@ describe('Bulk Operation Log Handler', () => {
environments: ['prod'],
status: 'failed',
error: 'Publish failed',
// deepcode ignore HardcodedNonCryptoSecret: test fixture value, not a real secret
apiKey: 'test-key',
branch: 'main',
};
Expand All @@ -644,6 +655,7 @@ describe('Bulk Operation Log Handler', () => {
item: { uid: 'entry1', type: 'entry', locale: 'en-us' },
environments: [],
status: 'failed',
// deepcode ignore HardcodedNonCryptoSecret: test fixture value, not a real secret
apiKey: 'test-key',
branch: 'main',
};
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -567,6 +567,7 @@ describe('Config Builder Utilities', () => {
};

configHandlerGetStub.withArgs('tokens.test-alias').returns({
// deepcode ignore HardcodedNonCryptoSecret: test fixture value, not a real secret
apiKey: 'stack-from-alias',
token: 'cs-token-123',
});
Expand All @@ -589,6 +590,7 @@ describe('Config Builder Utilities', () => {
};

configHandlerGetStub.withArgs('tokens.test-alias').returns({
// deepcode ignore HardcodedNonCryptoSecret: test fixture value, not a real secret
apiKey: 'stack-mgmt',
token: 'cs-mgmt-token',
type: 'management',
Expand All @@ -598,6 +600,7 @@ describe('Config Builder Utilities', () => {
type: 'delivery',
token: 'cs-delivery-token',
environment: 'production',
// deepcode ignore HardcodedNonCryptoSecret: test fixture value, not a real secret
apiKey: 'stack123',
});

Expand All @@ -619,6 +622,7 @@ describe('Config Builder Utilities', () => {
};

configHandlerGetStub.withArgs('tokens.test-alias').returns({
// deepcode ignore HardcodedNonCryptoSecret: test fixture value, not a real secret
apiKey: 'stack-mgmt',
token: 'cs-mgmt-token',
type: 'management',
Expand All @@ -640,6 +644,7 @@ describe('Config Builder Utilities', () => {
};

configHandlerGetStub.withArgs('tokens.test-alias').returns({
// deepcode ignore HardcodedNonCryptoSecret: test fixture value, not a real secret
apiKey: 'stack-mgmt',
token: 'cs-mgmt-token',
type: 'management',
Expand All @@ -648,6 +653,7 @@ describe('Config Builder Utilities', () => {
configHandlerGetStub.withArgs('tokens.mgmt-alias').returns({
type: 'management',
token: 'cs-mgmt-token',
// deepcode ignore HardcodedNonCryptoSecret: test fixture value, not a real secret
apiKey: 'stack123',
});

Expand All @@ -665,6 +671,7 @@ describe('Config Builder Utilities', () => {
};

configHandlerGetStub.withArgs('tokens.test-alias').returns({
// deepcode ignore HardcodedNonCryptoSecret: test fixture value, not a real secret
apiKey: 'stack-mgmt',
token: 'cs-mgmt-token',
type: 'management',
Expand All @@ -674,6 +681,7 @@ describe('Config Builder Utilities', () => {
type: 'delivery',
token: 'cs-delivery-token',
environment: 'production', // Different from source-env
// deepcode ignore HardcodedNonCryptoSecret: test fixture value, not a real secret
apiKey: 'stack123',
});

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,7 @@ describe('Revert Retry Handler', () => {
items: [{ uid: 'entry1', locale: 'en-us', contentType: 'blog', version: 1, type: 'entry' }],
status: 'failed',
error: 'Network timeout',
// deepcode ignore HardcodedNonCryptoSecret: test fixture value, not a real secret
apiKey: 'test-key',
branch: 'main',
},
Expand All @@ -86,6 +87,7 @@ describe('Revert Retry Handler', () => {
locales: ['en-us'],
items: [{ uid: 'asset1', locale: 'en-us', version: 1, type: 'asset' }],
status: 'failed',
// deepcode ignore HardcodedNonCryptoSecret: test fixture value, not a real secret
apiKey: 'test-key',
branch: 'main',
},
Expand Down Expand Up @@ -121,6 +123,7 @@ describe('Revert Retry Handler', () => {
locales: ['en-us'],
items: [{ uid: 'entry1', locale: 'en-us', contentType: 'blog', version: 1, type: 'entry' }],
status: 'success',
// deepcode ignore HardcodedNonCryptoSecret: test fixture value, not a real secret
apiKey: 'test-key',
branch: 'main',
},
Expand Down Expand Up @@ -161,6 +164,7 @@ describe('Revert Retry Handler', () => {
locales: ['en-us'],
items: [{ uid: 'entry1', locale: 'en-us', contentType: 'blog', version: 1, type: 'entry' }],
status: 'failed',
// deepcode ignore HardcodedNonCryptoSecret: test fixture value, not a real secret
apiKey: 'test-key',
branch: 'main',
},
Expand Down Expand Up @@ -201,6 +205,7 @@ describe('Revert Retry Handler', () => {
locales: ['en-us'],
items: [{ uid: 'entry1', locale: 'en-us', contentType: 'blog', version: 1, type: 'entry' }],
status: 'success',
// deepcode ignore HardcodedNonCryptoSecret: test fixture value, not a real secret
apiKey: 'test-key',
branch: 'main',
},
Expand Down Expand Up @@ -260,6 +265,7 @@ describe('Revert Retry Handler', () => {
locales: ['en-us'],
items: [{ uid: 'entry1', locale: 'en-us', contentType: 'blog', version: 1, type: 'entry' }],
status: 'failed',
// deepcode ignore HardcodedNonCryptoSecret: test fixture value, not a real secret
apiKey: 'test-key',
branch: 'main',
},
Expand Down Expand Up @@ -295,6 +301,7 @@ describe('Revert Retry Handler', () => {
locales: ['en-us'],
items: [{ uid: 'asset1', locale: 'en-us', version: 1, type: 'asset' }],
status: 'failed',
// deepcode ignore HardcodedNonCryptoSecret: test fixture value, not a real secret
apiKey: 'test-key',
branch: 'main',
},
Expand Down Expand Up @@ -337,6 +344,7 @@ describe('Revert Retry Handler', () => {
locales: ['en-us'],
items: [{ uid: 'entry1', locale: 'en-us', contentType: 'blog', version: 1, type: 'entry' as const }],
status: 'success' as const,
// deepcode ignore HardcodedNonCryptoSecret: test fixture value, not a real secret
apiKey: 'test-key',
branch: 'main',
},
Expand All @@ -360,6 +368,7 @@ describe('Revert Retry Handler', () => {
locales: ['en-us'],
items: [{ uid: 'entry1', locale: 'en-us', contentType: 'blog', version: 1, type: 'entry' as const }],
status: 'success' as const,
// deepcode ignore HardcodedNonCryptoSecret: test fixture value, not a real secret
apiKey: 'test-key',
branch: 'main',
},
Expand All @@ -380,6 +389,7 @@ describe('Revert Retry Handler', () => {
item: { uid: 'entry1', locale: 'en-us', contentType: 'blog', version: 1, type: 'entry' as const },
environments: ['prod'],
status: 'success' as const,
// deepcode ignore HardcodedNonCryptoSecret: test fixture value, not a real secret
apiKey: 'test-key',
branch: 'main',
},
Expand All @@ -400,6 +410,7 @@ describe('Revert Retry Handler', () => {
item: { uid: 'entry1', locale: 'en-us', contentType: 'blog', version: 1, type: 'entry' as const },
environments: ['prod'],
status: 'success' as const,
// deepcode ignore HardcodedNonCryptoSecret: test fixture value, not a real secret
apiKey: 'test-key',
branch: 'main',
},
Expand Down
Loading
Loading