Skip to content

Commit

Permalink
Update security.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
oriolcanades authored Oct 20, 2024
1 parent 78bf1cc commit ae97736
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions .github/workflows/security.yml
Original file line number Diff line number Diff line change
@@ -1,23 +1,18 @@
name: Security Check

on:
push:
branches:
- main
schedule:
- cron: '00 2 * * 1'

jobs:
security_check:
runs-on: ubuntu-latest

steps:
- name: Checkout code
uses: actions/checkout@v3

- name: Audit dependencies for vulnerabilities
run: npm audit --audit-level=high || echo "Vulnerabilities found"

- name: Send Email if vulnerabilities are found
if: failure()
uses: dawidd6/action-send-mail@v3
Expand Down

0 comments on commit ae97736

Please sign in to comment.