diff --git a/.github/workflows/audit.yml b/.github/workflows/audit.yml index 81ddbe169..c328050f2 100644 --- a/.github/workflows/audit.yml +++ b/.github/workflows/audit.yml @@ -4,14 +4,13 @@ on: schedule: # Runs at 00:00 UTC everyday - cron: '0 0 * * *' - push: + pull_request: paths: - - 'deps/swc' + - 'deps' - '.github/workflows/audit.yml' - package.json - lib - src - pull_request: jobs: rust-audit: diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 29920044e..98f1525ce 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -1,10 +1,7 @@ name: CI on: - push: - branches: [main] pull_request: - branches: [main] jobs: commit-lint: