Skip to content

Commit

Permalink
Update secret.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
james-garriss authored Feb 19, 2024
1 parent 32f3b45 commit bfccf92
Showing 1 changed file with 8 additions and 72 deletions.
80 changes: 8 additions & 72 deletions .github/workflows/secret.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,80 +7,16 @@ on:
workflow_dispatch:

jobs:
# trufflehog-ml:
# name: TruffleHog from MegaLinter
# runs-on: ubuntu-latest
# defaults:
# run:
# shell: bash
# steps:
# - name: Checkout Repo
# uses: actions/checkout@v4
# with:
# fetch-depth: 0
# - name: TruffleHog
# uses: oxsecurity/megalinter/flavors/security@latest
# gitleaks:
# name: Gitleaks
# runs-on: ubuntu-latest
# steps:
# - name: Checkout Repo
# uses: actions/checkout@v4
# - name: Scan with Gitleaks
# uses: gitleaks/gitleaks-action@v2
# env:
# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
truffle:
name: TruffleHog
MegaLinter:
name: MegaLinter
runs-on: ubuntu-latest
defaults:
run:
shell: bash
steps:
- name: Checkout Repo
uses: actions/checkout@v4
- name: Scan with TruffleHog
uses: trufflesecurity/trufflehog@main
with:
base: ${{ github.head_ref }}
head: ${{ github.ref_name }}
# extra_args: --no-verification
# truffle-install:
# name: TruffleHog Installation
# runs-on: Ubnuntu-latest
# steps:
# - name: Checkout
# uses: actions/checkout@v4
# - name : Installing secret-scanning tool
# run : |
# pip3 install truffleHog
# truffleHog --regex --entropy=False .
# truffle-enterprise:
# name: TruffleHog Enterprise
# runs-on: ubuntu-latest
# steps:
# - name: Checkout
# uses: actions/checkout@v4
# with:
# fetch-depth: 0 # fetch all history so multiple commits can be scanned
# - name: Scan with TruffleHog Enterprise
# uses: trufflesecurity/TruffleHog-Enterprise-Github-Action@main
# with:
# args: --fail-verified ${{ github.event.repository.default_branch }} HEAD
# truffle-cli:
# name: TruffleHog CLI
# runs-on: ubuntu-latest
# steps:
# - name: Checkout
# uses: actions/checkout@v4
# with:
# fetch-depth: 0 # fetch all history so multiple commits can be scanned
# - name: TruffleHog OSS
# id: trufflehog
# uses: trufflesecurity/trufflehog@add-actions-cli-switch
# continue-on-error: true
# with:
# path: ./
# base: "${{ github.event.repository.default_branch }}"
# head: HEAD
# extra_args: --debug --only-verified 
# - name: Scan Results Status
# if: steps.trufflehog.outcome == 'failure'
# run: exit 1
fetch-depth: 0
- name: Check Repo
uses: oxsecurity/megalinter/flavors/security@latest

0 comments on commit bfccf92

Please sign in to comment.