ideafast / ideafast-portal

Data platform and portal for the IDEAFast study
MIT License
1 stars 3 forks source link

feat(nx-cloud): setup nx workspace #2483

Closed fguitton closed 2 weeks ago

fguitton commented 2 months ago

feat(nx-cloud): setup nx cloud workspace

This commit set up Nx Cloud for your Nx workspace enabling distributed caching and GitHub integration for fast CI and improved Developer Experience.

You can access your Nx Cloud workspace by going to https://cloud.nx.app/orgs/6697b5835cd4549333b3c5e1/workspaces/6697b5c2c3bea5191c067638

Note: This commit attempts to maintain formatting of the nx.json, however you may need to correct formatting by running an nx format command and committing the changes.

gitguardian[bot] commented 2 months ago

⚠️ GitGuardian has uncovered 1 secret following the scan of your pull request.

Please consider investigating the findings and remediating the incidents. Failure to do so may lead to compromising the associated services or software components.

🔎 Detected hardcoded secret in your pull request
| GitGuardian id | GitGuardian status | Secret | Commit | Filename | | | -------------- | ------------------ | ------------------------------ | ---------------- | --------------- | -------------------- | | [13080326](https://dashboard.gitguardian.com/workspace/25407/incidents/13080326?occurrence=160889050) | Triggered | Nx Cloud Token | 8db77884b93c47dbfb7e280a4261759db522b9ae | nx.json | [View secret](https://github.com/ideafast/ideafast-portal/commit/8db77884b93c47dbfb7e280a4261759db522b9ae#diff-15552e50b1b7c05b05b7ffe08ee47b5ed62b8d2039229c58972a42fd22a7381cR66) |
🛠 Guidelines to remediate hardcoded secrets
1. Understand the implications of revoking this secret by investigating where it is used in your code. 2. Replace and store your secret safely. [Learn here](https://blog.gitguardian.com/secrets-api-management?utm_source=product&utm_medium=GitHub_checks&utm_campaign=check_run_comment) the best practices. 3. Revoke and [rotate this secret](https://docs.gitguardian.com/secrets-detection/secrets-detection-engine/detectors/specifics/nx_cloud_token#revoke-the-secret?utm_source=product&utm_medium=GitHub_checks&utm_campaign=check_run_comment). 4. If possible, [rewrite git history](https://blog.gitguardian.com/rewriting-git-history-cheatsheet?utm_source=product&utm_medium=GitHub_checks&utm_campaign=check_run_comment). Rewriting git history is not a trivial act. You might completely break other contributing developers' workflow and you risk accidentally deleting legitimate data. To avoid such incidents in the future consider - following these [best practices](https://blog.gitguardian.com/secrets-api-management/?utm_source=product&utm_medium=GitHub_checks&utm_campaign=check_run_comment) for managing and storing secrets including API keys and other credentials - install [secret detection on pre-commit](https://docs.gitguardian.com/ggshield-docs/integrations/git-hooks/pre-commit?utm_source=product&utm_medium=GitHub_checks&utm_campaign=check_run_comment) to catch secret before it leaves your machine and ease remediation.

🦉 GitGuardian detects secrets in your source code to help developers and security teams secure the modern development process. You are seeing this because you or someone else with access to this repository has authorized GitGuardian to scan your pull request.

nx-cloud[bot] commented 2 months ago

☁️ Nx Cloud Report

CI is running/has finished running commands for commit 8db77884b93c47dbfb7e280a4261759db522b9ae. As they complete they will appear below. Click to see the status, the terminal output, and the build insights.

📂 See all runs for this CI Pipeline Execution


✅ Successfully ran 3 targets - [`nx affected --target=test --base=1996fb3839cf82123eedde1b7f743eadcfbca3d7 --head=8db77884b93c47dbfb7e280a4261759db522b9ae --parallel=1`](https://cloud.nx.app/runs/lA40seANws?utm_source=pull-request&utm_medium=comment) - [`nx affected --target=build --base=1996fb3839cf82123eedde1b7f743eadcfbca3d7 --head=8db77884b93c47dbfb7e280a4261759db522b9ae --parallel=1`](https://cloud.nx.app/runs/tR6vGtcCGa?utm_source=pull-request&utm_medium=comment) - [`nx affected --target=lint --base=1996fb3839cf82123eedde1b7f743eadcfbca3d7 --head=8db77884b93c47dbfb7e280a4261759db522b9ae`](https://cloud.nx.app/runs/mUj4QK4Kl6?utm_source=pull-request&utm_medium=comment)

Sent with 💌 from NxCloud.