Compare commits

...

3 Commits

Author SHA1 Message Date
sudo pacman -Syu 15e4902aa2 feat: add gitleaks 2024-06-08 16:06:53 +07:00
sudo pacman -Syu 6bca234a9f chore: gitleaksignore 2024-06-08 16:02:15 +07:00
sudo pacman -Syu f9b162e50d chore: add gitleaks 2024-06-08 15:58:53 +07:00
5 changed files with 26 additions and 1 deletions

16
.github/workflows/gitleaks.yml vendored Normal file
View File

@ -0,0 +1,16 @@
name: gitleaks
on:
push:
pull_request:
jobs:
scan:
name: gitleaks
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- uses: gitleaks/gitleaks-action@v2
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

2
.gitleaksignore Normal file
View File

@ -0,0 +1,2 @@
aa962c79312a206880a0c3c06450ec34f9b9f539:posts/2022-07-19-migrate-to-buf.md:generic-api-key:89
aa962c79312a206880a0c3c06450ec34f9b9f539:docs/2022-07-19-migrate-to-buf.html:generic-api-key:35

View File

@ -1,6 +1,7 @@
# posts-go # posts-go
[![Go](https://github.com/haunt98/posts-go/workflows/Go/badge.svg?branch=main)](https://github.com/haunt98/posts-go/actions) [![Go](https://github.com/haunt98/posts-go/actions/workflows/go.yml/badge.svg)](https://github.com/haunt98/posts-go/actions/workflows/go.yml)
[![gitleaks](https://github.com/haunt98/posts-go/actions/workflows/gitleaks.yml/badge.svg)](https://github.com/haunt98/posts-go/actions/workflows/gitleaks.yml)
[![Latest Version](https://img.shields.io/github/v/tag/haunt98/posts-go)](https://github.com/haunt98/posts-go/tags) [![Latest Version](https://img.shields.io/github/v/tag/haunt98/posts-go)](https://github.com/haunt98/posts-go/tags)
Write markdown, convert to html, then publish using Github Pages. Write markdown, convert to html, then publish using Github Pages.

View File

@ -787,6 +787,11 @@
>https://github.com/ollama/ollama</a >https://github.com/ollama/ollama</a
> >
</li> </li>
<li>
<a href="https://github.com/gitleaks/gitleaks"
>https://github.com/gitleaks/gitleaks</a
>
</li>
</ul> </ul>
<p>Memory</p> <p>Memory</p>
<ul> <ul>

View File

@ -165,6 +165,7 @@ Misc
- https://github.com/walles/moar - https://github.com/walles/moar
- https://github.com/antonmedv/fx - https://github.com/antonmedv/fx
- https://github.com/ollama/ollama - https://github.com/ollama/ollama
- https://github.com/gitleaks/gitleaks
Memory Memory