chore(config): migrate renovate config #10
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
# yaml-language-server: $schema=https://json.schemastore.org/github-workflow.json | |
name: Security | |
on: | |
pull_request: | |
branches: | |
- main | |
permissions: | |
contents: read | |
pull-requests: write | |
jobs: | |
secret-scan: | |
name: Run TruffleHog Secret Scan | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4 | |
with: | |
fetch-depth: 0 | |
- name: Run TruffleHog Secret Scanning | |
uses: trufflesecurity/trufflehog@6ceb49097f21249369f015c4d571173e9252f04d # v3.86.1 | |
with: | |
path: ./ | |
base: ${{ github.event.repository.default_branch }} | |
- name: Post results if secrets found | |
if: failure() # If the previous step fails (i.e., secrets found) | |
run: echo "❌ Secrets detected! Please review the findings and remove any secrets before merging." |