Skip to content

Commit

Permalink
add automatic security check
Browse files Browse the repository at this point in the history
  • Loading branch information
EddeCCC committed Nov 29, 2024
1 parent 5f53149 commit 2871bf7
Showing 1 changed file with 25 additions and 0 deletions.
25 changes: 25 additions & 0 deletions .github/workflows/security_check.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
name: Automatic Security Check

on:
# schedule:
# - cron: "0 8 1,15 * *" # At 08:00 on day-of-month 1 and 15
push:

jobs:
security-check:
name: Security Check
runs-on: ubuntu-latest
container:
image: node:16.17
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Install dependencies
run: yarn install
- name: Run yarn audit
run: yarn audit --no-color > .yarn-audit
- name: Upload report
uses: actions/upload-artifact@v3
with:
name: yarn-audit-report
path: .yarn-audit

0 comments on commit 2871bf7

Please sign in to comment.