astronomer / astro-provider-ray

This provider contains operators, decorators and triggers to send a ray job from an airflow task
https://astronomer.github.io/astro-provider-ray/
Apache License 2.0
12 stars 2 forks source link

Enable secrect detection precommit check #91

Closed pankajastro closed 1 week ago

pankajastro commented 1 week ago

Enable secret detection in pre-commit to minimize key leak

debug statements (python).....................................................Passed
fix end of files..............................................................Failed
- hook id: end-of-file-fixer
- exit code: 1
- files were modified by this hook

Fixing key1.pem

mixed line ending.............................................................Passed
pretty format json............................................................Passed
trim trailing whitespace......................................................Passed
detect private key............................................................Failed
- hook id: detect-private-key
- exit code: 1

Private key found: key1.pem

detect aws credentials........................................................Failed
- hook id: detect-aws-credentials
- exit code: 2
Screenshot 2024-11-05 at 10 39 08 AM

related: https://github.com/astronomer/oss-integrations-private/issues/28

codecov-commenter commented 1 week ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 98.22%. Comparing base (cf599b8) to head (b58deb5).

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #91 +/- ## ======================================= Coverage 98.22% 98.22% ======================================= Files 5 5 Lines 564 564 ======================================= Hits 554 554 Misses 10 10 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.