Skip to content

Commit

Permalink
git leaks
Browse files Browse the repository at this point in the history
  • Loading branch information
Saransh Balyan committed Apr 12, 2024
1 parent f1c8f98 commit 06a28a2
Show file tree
Hide file tree
Showing 3 changed files with 31 additions and 20 deletions.
13 changes: 1 addition & 12 deletions .github/workflows/codeql.yml
Original file line number Diff line number Diff line change
@@ -1,18 +1,7 @@
name: CodeQL

on:
# push:
# branches:
# - main
# - patch-release
# - next
# - "!renovate/**"
# pull_request:
# branches:
# - main
# - patch-release
# - next
# - "!renovate/**"
pull_request:
workflow_dispatch:

permissions:
Expand Down
16 changes: 8 additions & 8 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,14 @@ name: deploy

on:
workflow_dispatch:
workflow_run:
workflows:
- reviewdog
types:
- completed
# push:
# branches:
# - 'main'
# workflow_run:
# workflows:
# - reviewdog
# types:
# - completed
push:
branches:
- 'main'
env:
REGISTRY: ghcr.io
IMAGE_NAME: ${{ github.repository }}
Expand Down
22 changes: 22 additions & 0 deletions .github/workflows/gitleaks.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
name: gitleaks

on:
pull_request:
workflow_dispatch:

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true

jobs:
scan:
name: gitleaks
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0
- uses: gitleaks/gitleaks-action@v2
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GITLEAKS_LICENSE: ${{ secrets.GITLEAKS_LICENSE}} # Only required for Organizations, not personal accounts.

0 comments on commit 06a28a2

Please sign in to comment.