Skip to content
Open
Show file tree
Hide file tree
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
3 changes: 3 additions & 0 deletions .github/workflows/sca-scan.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,9 @@ on:
jobs:
security-sca:
runs-on: ubuntu-latest
permissions:
contents: read
pull-requests: write
steps:
- uses: actions/checkout@master
- name: Run Snyk to check for vulnerabilities
Expand Down
2 changes: 2 additions & 0 deletions test/integration/NetworkResilienceTests/RetryLogic.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -270,6 +270,7 @@ describe('Retry Logic & Network Resilience - Comprehensive Tests', () => {
describe('Error Scenarios', () => {
test('Error_InvalidAPIKey_FailsWithoutRetry', async () => {
const localStack = Contentstack.Stack({
// deepcode ignore HardcodedNonCryptoSecret: test fixture value, not a real secret
api_key: 'invalid_api_key_12345',
delivery_token: config.stack.delivery_token,
environment: config.stack.environment,
Expand Down Expand Up @@ -436,6 +437,7 @@ describe('Retry Logic & Network Resilience - Comprehensive Tests', () => {
const RETRY_LIMIT = 5;

const localStack = Contentstack.Stack({
// deepcode ignore HardcodedNonCryptoSecret: test fixture value, not a real secret
api_key: 'invalid_api_key_for_timing_test',
delivery_token: config.stack.delivery_token,
environment: config.stack.environment,
Expand Down
Loading