Skip to content

Commit

Permalink
[githooks] Remove (#4761)
Browse files Browse the repository at this point in the history
* [docs] Fix git hook bug in CONTRIBUTING.md

The instructions as written resulted in a broken link for the pre-commit
git hook. Use `pushd`, `popd`, and `git rev-parse --show-toplevel` to
correct it.

Signed-off-by: Zack Train <ztrain@uber.com>

* [githooks] Remove deprecated gofmt pre-update hook

Signed-off-by: Zack Train <ztrain@uber.com>

---------

Signed-off-by: Zack Train <ztrain@uber.com>
Co-authored-by: Marcos Yacob <marcos.yacob@hpe.com>
  • Loading branch information
zmt and MarcosDY authored Jan 9, 2024
1 parent ac7dfe9 commit fb7eaed
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 35 deletions.
26 changes: 0 additions & 26 deletions .githooks/pre-commit

This file was deleted.

9 changes: 0 additions & 9 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -243,15 +243,6 @@ so keep your customizations in `.envrc`.
[direnv_link]: https://direnv.net/
[source_env]: https://direnv.net/man/direnv-stdlib.1.html#codesourceenv-ltfileordirpathgtcode

## Git hooks

We have checked in a pre-commit hook which enforces `go fmt` styling. Please install it
before sending a pull request. From the project root:

```shell
$ ln -s .githooks/pre-commit .git/hooks/pre-commit
```

## Reporting security vulnerabilities

If you've found a vulnerability or a potential vulnerability in SPIRE please let us know at <security@spiffe.io>. We'll send a confirmation email to acknowledge your report, and we'll send an additional email when we've identified the issue positively or negatively.

0 comments on commit fb7eaed

Please sign in to comment.