Skip to content

feat: add server mode #120

feat: add server mode

feat: add server mode #120

Workflow file for this run

name: Gitleaks
on:
push:
tags:
- v*
branches:
- main
pull_request:
permissions:
contents: read
jobs:
# ------------------------------
gitleaks:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
ref: ${{ github.event.pull_request.head.sha }}
- uses: gitleaks/gitleaks-action@v2
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GITLEAKS_LICENSE: ${{ secrets.GITLEAKS_LICENSE}}
if: ${{ env.GITLEAKS_LICENSE != '' }}
# ------------------------------