Skip to content

Commit e04edf8

Browse files
Adding gitleaks to GitHub workflows
1 parent 1abc512 commit e04edf8

File tree

2 files changed

+19
-1
lines changed

2 files changed

+19
-1
lines changed

.github/workflows/docker-build-push.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ env:
1010

1111
jobs:
1212

13-
docker-build:
13+
docker-build-push:
1414
runs-on: ubuntu-latest
1515
steps:
1616
- name: Check out code

.github/workflows/gitleaks.yml

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
name: Gitleaks
2+
3+
on:
4+
pull_request:
5+
push:
6+
7+
jobs:
8+
9+
scan:
10+
name: gitleaks
11+
runs-on: ubuntu-latest
12+
steps:
13+
- uses: actions/checkout@v4
14+
with:
15+
fetch-depth: 0
16+
- uses: gitleaks/gitleaks-action@v2
17+
env:
18+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)