You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sedona.apache.org by "jbampton (via GitHub)" <gi...@apache.org> on 2024/10/10 16:50:07 UTC
[PR] Add pre-commit hook `gitleaks` to detect and prevent hardcoded secrets [sedona]
jbampton opened a new pull request, #1621:
URL: https://github.com/apache/sedona/pull/1621
https://github.com/gitleaks/gitleaks
Adding another check/test to our pre-commit framework.
gitleaks is a popular tool that helps with security.
## Did you read the Contributor Guide?
- Yes, I have read the [Contributor Rules](https://sedona.apache.org/latest-snapshot/community/rule/) and [Contributor Development Guide](https://sedona.apache.org/latest-snapshot/community/develop/)
## Is this PR related to a JIRA ticket?
- Yes, the URL of the associated JIRA ticket is https://issues.apache.org/jira/browse/SEDONA-XXX. The PR name follows the format `[SEDONA-XXX] my subject`.
- No, this is a documentation update. The PR name follows the format `[DOCS] my subject`.
## What changes were proposed in this PR?
Added another pre-commit hook for testing.
## How was this patch tested?
Ran locally `pre-commit run --all-files`
## Did this PR include necessary documentation updates?
- No, this PR does not affect any public API so no need to change the documentation.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: dev-unsubscribe@sedona.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] [CI] Add pre-commit hook `gitleaks` to detect and prevent hardcoded secrets [sedona]
Posted by "jiayuasu (via GitHub)" <gi...@apache.org>.
jiayuasu merged PR #1621:
URL: https://github.com/apache/sedona/pull/1621
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: dev-unsubscribe@sedona.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] Add pre-commit hook `gitleaks` to detect and prevent hardcoded secrets [sedona]
Posted by "jbampton (via GitHub)" <gi...@apache.org>.
jbampton commented on PR #1621:
URL: https://github.com/apache/sedona/pull/1621#issuecomment-2405635099
https://github.com/gitleaks/gitleaks?tab=readme-ov-file#pre-commit
https://pre-commit.com/#golang
"new in 3.0.0: pre-commit will bootstrap go if it is not present."
https://github.com/apache/sedona/blob/678da0044c7eacc48db68ff96a41cf08e6a5f2a8/.pre-commit-config.yaml#L7
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@sedona.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org