Files
alexa-amundson-resume/.github/workflows/security-scan.yml
dependabot[bot] faa680f831 ci: bump actions/checkout from 4 to 6
Bumps [actions/checkout](https://github.com/actions/checkout) from 4 to 6.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v4...v6)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-version: '6'
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-03-14 19:38:08 +00:00

34 lines
987 B
YAML

name: "🔒 Security Scan"
on:
push:
branches: [main, master]
pull_request:
branches: [main, master]
schedule:
- cron: '0 6 * * 1'
jobs:
security:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v6
- name: Check for secrets
run: |
echo "Scanning for potential secrets..."
! grep -rn 'AKIA\|sk-\|ghp_\|gho_\|password\s*=' --include='*.js' --include='*.py' --include='*.env' --include='*.sh' . 2>/dev/null || echo "Review above matches"
echo "✅ Security scan complete"
- name: Check dependencies
run: |
if [ -f "package.json" ]; then
npm install --ignore-scripts 2>/dev/null
npm audit --audit-level=high 2>/dev/null || true
fi
if [ -f "requirements.txt" ]; then
pip install safety 2>/dev/null
safety check -r requirements.txt 2>/dev/null || true
fi
echo "✅ Dependency check complete"