Skip to content
Merged
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
Empty file removed .circleci/config.yml
Empty file.
15 changes: 15 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
version: 2
updates:
- package-ecosystem: "pip"
directory: "/"
schedule:
interval: "weekly"
open-pull-requests-limit: 5
groups:
security:
applies-to: security-updates
patterns: ["*"]
- package-ecosystem: "github-actions"
directory: "/"
schedule:
interval: "weekly"
40 changes: 40 additions & 0 deletions .github/workflows/codeql.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
name: CodeQL

on:
pull_request:
branches: [master, main]
push:
branches: [master, main]

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

permissions:
contents: read

jobs:
analyze:
runs-on: ubuntu-latest
permissions:
actions: read
contents: read
security-events: write
strategy:
fail-fast: false
matrix:
language: [python, actions]
steps:
- uses: actions/checkout@11d5960a326750d5838078e36cf38b85af677262 # v4.4.0
with:
persist-credentials: false
- uses: github/codeql-action/init@6f2ac81f5cd81fe351a197ba0b00d91d03cd2aee # v4.39.0
with:
languages: ${{ matrix.language }}
build-mode: none
# Code scanning needs Code Security on a private repo, which this one does not have,
# so results are uploaded only once the repo is public.
- uses: github/codeql-action/analyze@6f2ac81f5cd81fe351a197ba0b00d91d03cd2aee # v4.39.0
with:
category: /language:${{ matrix.language }}
upload: ${{ github.event.repository.private && 'never' || 'always' }}
18 changes: 0 additions & 18 deletions .github/workflows/opengrep-ci.yml

This file was deleted.

18 changes: 0 additions & 18 deletions .github/workflows/opengrep-fp.yml

This file was deleted.

16 changes: 0 additions & 16 deletions .github/workflows/trufflehog-bypass.yml

This file was deleted.

19 changes: 14 additions & 5 deletions .github/workflows/trufflehog-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,19 @@ on:
pull_request:
branches: [master, main]

permissions:
contents: read

jobs:
scan:
uses: scaleapi/required-actions/.github/workflows/trufflehog-scan.yml@main
permissions:
contents: read
pull-requests: write
id-token: write
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@11d5960a326750d5838078e36cf38b85af677262 # v4.4.0
with:
fetch-depth: 0
persist-credentials: false
# Scans the commits between the PR's base and head.
- uses: trufflesecurity/trufflehog@31ce31ee1abbcc7dc8eee5764c17121c3044c8b2 # v3.99.7
with:
version: 3.99.7
extra_args: --results=verified,unknown
31 changes: 14 additions & 17 deletions .github/workflows/trufflehog-weekly.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,23 +4,20 @@ on:
schedule:
- cron: '0 3 * * 0'
workflow_dispatch:
inputs:
since_commit:
description: 'Override: Scan from this commit SHA (leave empty to use stored value)'
required: false
type: string
full_scan:
description: 'Run full history scan (ignores since_commit)'
required: false
type: boolean
default: false

permissions:
contents: read

jobs:
scan:
uses: scaleapi/required-actions/.github/workflows/trufflehog-weekly-scan.yml@main
with:
since_commit: ${{ inputs.since_commit || '' }}
full_scan: ${{ inputs.full_scan || false }}
permissions:
contents: read
id-token: write
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@11d5960a326750d5838078e36cf38b85af677262 # v4.4.0
with:
fetch-depth: 0
persist-credentials: false
# On schedule and workflow_dispatch the action scans the full history.
- uses: trufflesecurity/trufflehog@31ce31ee1abbcc7dc8eee5764c17121c3044c8b2 # v3.99.7
with:
version: 3.99.7
extra_args: --results=verified,unknown
Loading