mirror of
https://github.com/huggingface/text-generation-inference.git
synced 2025-04-19 13:52:07 +00:00
* feat: Add the parsing of HF_HUB_USER_AGENT_ORIGIN environment variable to add info about the environment running TGI. That is useful to track usage in case of collaborations for example. * fix: trufflehog
22 lines
536 B
YAML
22 lines
536 B
YAML
on:
|
|
push:
|
|
|
|
name: Secret Leaks
|
|
|
|
permissions:
|
|
contents: read
|
|
|
|
jobs:
|
|
trufflehog:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: Checkout code
|
|
uses: actions/checkout@v4
|
|
with:
|
|
fetch-depth: 0
|
|
- name: Secret Scanning
|
|
uses: trufflesecurity/trufflehog@853e1e8d249fd1e29d0fcc7280d29b03df3d643d
|
|
with:
|
|
# exclude buggy postgres detector that is causing false positives and not relevant to our codebase
|
|
extra_args: --results=verified,unknown --exclude-detectors=postgres
|