Compare commits
10 Commits
b8b8964944
...
bb89c731f9
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
bb89c731f9 | ||
|
|
556fc66596 | ||
|
|
b34d0ece7b | ||
|
|
2fc631e292 | ||
|
|
fbfac786c4 | ||
|
|
5904a7755a | ||
|
|
066617a785 | ||
|
|
ee3b0104d5 | ||
|
|
df2b6ecdbc | ||
|
|
28f247de1f |
10
.github/workflows/semgrep.yml
vendored
10
.github/workflows/semgrep.yml
vendored
@@ -6,6 +6,8 @@ on:
|
||||
branches:
|
||||
- master
|
||||
- main
|
||||
- develop
|
||||
- portal
|
||||
|
||||
# Schedule this job to run at a certain time, using cron syntax
|
||||
# Note that * is a special character in YAML so you have to quote this string
|
||||
@@ -15,16 +17,18 @@ on:
|
||||
jobs:
|
||||
central-semgrep:
|
||||
name: Static code Analysis
|
||||
uses: navi-infosec/central-semgrep-action/.github/workflows/central-semgrep.yml@master
|
||||
uses: navi-infosec/central-semgrep-action/.github/workflows/central-semgrep.yml@using-token
|
||||
with:
|
||||
github-event-number: ${{github.event.number}}
|
||||
github-event-name: ${{github.event_name}}
|
||||
github-repository: ${{github.repository}}
|
||||
github-pr_owner_name: ${{github.event.pull_request.user.login}}
|
||||
secrets:
|
||||
READ_SEMGREP_RULES: ${{secrets.READ_SEMGREP_RULES}}
|
||||
READ_SEMGREP_RULES_TOKEN: ${{secrets.READ_SEMGREP_RULES_TOKEN}}
|
||||
EMAIL_FETCH_TOKEN: ${{secrets.EMAIL_FETCH_TOKEN}}
|
||||
|
||||
run-if-failed:
|
||||
runs-on: [ self-hosted ]
|
||||
runs-on: [ self-hosted, Linux ]
|
||||
needs: [central-semgrep]
|
||||
if: always() && (needs.semgrep.result == 'failure')
|
||||
steps:
|
||||
|
||||
@@ -238,7 +238,7 @@ const Header = () => {
|
||||
actionHandler={() => {
|
||||
enableClickStreamApi(
|
||||
`experiments/toggle/click-stream/${experimentId}`,
|
||||
() => setClickStreamEnabled(!isExperimentEnabled),
|
||||
() => setClickStreamEnabled(!isClickStreamEnabled),
|
||||
);
|
||||
setShowEnableClickstreamModal(false);
|
||||
}}
|
||||
|
||||
@@ -348,7 +348,7 @@ export const getSaveExperimentPayload = (values: any) => {
|
||||
type: ExperimentType.EXPERIMENT,
|
||||
vertical,
|
||||
teamName,
|
||||
enableClickStream: enableClickStream === 'Yes' ? true : false,
|
||||
enableClickStream: enableClickStream === 'Yes',
|
||||
};
|
||||
};
|
||||
|
||||
|
||||
12
yarn.lock
12
yarn.lock
@@ -3,9 +3,9 @@
|
||||
|
||||
|
||||
"@adobe/css-tools@^4.0.1":
|
||||
version "4.3.1"
|
||||
resolved "https://registry.yarnpkg.com/@adobe/css-tools/-/css-tools-4.3.1.tgz#abfccb8ca78075a2b6187345c26243c1a0842f28"
|
||||
integrity sha512-/62yikz7NLScCGAAST5SHdnjaDJQBDq0M2muyRTpf2VQhw6StBg2ALiu73zSJQ4fMVLA+0uBhBHAle7Wg+2kSg==
|
||||
version "4.3.2"
|
||||
resolved "https://registry.yarnpkg.com/@adobe/css-tools/-/css-tools-4.3.2.tgz#a6abc715fb6884851fca9dad37fc34739a04fd11"
|
||||
integrity sha512-DA5a1C0gD/pLOvhv33YMrbf2FK3oUzwNl9oOJqE4XVjuEtt6XIakRcsd7eLiOSPkp1kTRQGICTA8cKra/vFbjw==
|
||||
|
||||
"@ampproject/remapping@^2.2.0":
|
||||
version "2.2.1"
|
||||
@@ -7458,9 +7458,9 @@ totalist@^1.0.0:
|
||||
integrity sha512-gduQwd1rOdDMGxFG1gEvhV88Oirdo2p+KjoYFU7k2g+i7n6AFFbDQ5kMPUsW0pNbfQsB/cwXvT1i4Bue0s9g5g==
|
||||
|
||||
tough-cookie@^4.1.2:
|
||||
version "4.1.2"
|
||||
resolved "https://nexus.cmd.navi-tech.in/repository/navi-commons/tough-cookie/-/tough-cookie-4.1.2.tgz#e53e84b85f24e0b65dd526f46628db6c85f6b874"
|
||||
integrity sha512-G9fqXWoYFZgTc2z8Q5zaHy/vJMjm+WV0AkAeHxVCQiEB1b+dGvWzFW6QV07cY5jQ5gRkeid2qIkzkxUnmoQZUQ==
|
||||
version "4.1.3"
|
||||
resolved "https://registry.yarnpkg.com/tough-cookie/-/tough-cookie-4.1.3.tgz#97b9adb0728b42280aa3d814b6b999b2ff0318bf"
|
||||
integrity sha512-aX/y5pVRkfRnfmuX+OdbSdXvPe6ieKX/G2s7e98f4poJHnqH3281gDPm/metm6E/WRamfx7WC4HUqkWHfQHprw==
|
||||
dependencies:
|
||||
psl "^1.1.33"
|
||||
punycode "^2.1.1"
|
||||
|
||||
Reference in New Issue
Block a user