mirror of https://github.com/stjepang/smol
21 lines
409 B
YAML
21 lines
409 B
YAML
name: Security audit
|
|
|
|
on:
|
|
push:
|
|
branches:
|
|
- master
|
|
pull_request:
|
|
|
|
jobs:
|
|
security_audit:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v2
|
|
|
|
- name: Set current week of the year in environnement
|
|
run: echo "CURRENT_WEEK=$(date +%V)" >> $GITHUB_ENV
|
|
|
|
- uses: actions-rs/audit-check@v1
|
|
with:
|
|
token: ${{ secrets.GITHUB_TOKEN }}
|