Skip to content

created a security scan for secrets #91

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 7 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
40 changes: 40 additions & 0 deletions .github/security-scan.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
# this is security scan for secrets
name: TruffleHog

on:
push:
branches:
- main
pull_request:

permissions:
contents: read
id-token: write
issues: write
pull-requests: write

jobs:
TruffleHog:
runs-on: ubuntu-latest
defaults:
run:
shell: bash
steps:
- name: Checkout code
uses: actions/checkout@v3
with:
fetch-depth: 0

- name: TruffleHog OSS
id: trufflehog
uses: trufflesecurity/trufflehog@main
continue-on-error: true
with:
path: ./
base: "${{ github.event.repository.default_branch }}"
head: HEAD
extra_args: --debug

- name: Scan Results Status
if: steps.trufflehog.outcome == 'failure'
run: exit 1
1 change: 1 addition & 0 deletions .github/workflows.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@

2 changes: 1 addition & 1 deletion packages/frontend/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@
"gsap": "^3.12.5",
"lenis": "^1.1.16",
"livepeer": "^3.4.0",
"lucide-react": "^0.424.0",
"lucide-react": "^0.474.0",
"react": "^18.3.1",
"react-animated-cursor": "^2.11.2",
"react-calendar": "^5.1.0",
Expand Down