Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add .aiexclude file for safer Gemini usage #20827

Merged
merged 1 commit into from
May 16, 2024
Merged

Conversation

thomashorta
Copy link
Contributor

Gemini is now embedded in Android Studio but it shares data with Google to provide code assistance, therefore we should include an .aiexclude file (similar to .gitignore) to avoid sensitive data being shared (like keys).

This PR adds an initial .aiexclude file containing such files.

Based on:
https://developer.android.com/studio/preview/gemini/aiexclude

@dangermattic
Copy link
Collaborator

1 Warning
⚠️ PR is not assigned to a milestone.

Generated by 🚫 Danger

Copy link

sonarcloud bot commented May 15, 2024

Quality Gate Passed Quality Gate passed

Issues
0 New issues
0 Accepted issues

Measures
0 Security Hotspots
No data about Coverage
No data about Duplication

See analysis details on SonarCloud

@wpmobilebot
Copy link
Contributor

WordPress📲 You can test the changes from this Pull Request in WordPress by scanning the QR code below to install the corresponding build.
App NameWordPress WordPress
FlavorJalapeno
Build TypeDebug
Versionpr20827-03fc44b
Commit03fc44b
Direct Downloadwordpress-prototype-build-pr20827-03fc44b.apk
Note: Google Login is not supported on these builds.

@wpmobilebot
Copy link
Contributor

Jetpack📲 You can test the changes from this Pull Request in Jetpack by scanning the QR code below to install the corresponding build.
App NameJetpack Jetpack
FlavorJalapeno
Build TypeDebug
Versionpr20827-03fc44b
Commit03fc44b
Direct Downloadjetpack-prototype-build-pr20827-03fc44b.apk
Note: Google Login is not supported on these builds.

Copy link
Contributor

@wzieba wzieba left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This looks good. Excluded files contain all secret files declared in .configure as well as all build directories that could contain these secrets. Thank you @thomashorta !

@thomashorta thomashorta merged commit 3b38a50 into trunk May 16, 2024
20 of 22 checks passed
@thomashorta thomashorta deleted the build/aiexclude-file branch May 16, 2024 18:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants