diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index f51bad5..59764ea 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -1,4 +1,7 @@ -on: [push] +on: + pull_request: + branches: + - main name: build jobs: build: diff --git a/.github/workflows/security-audit.yml b/.github/workflows/security-audit.yml index fa95789..6c1c529 100644 --- a/.github/workflows/security-audit.yml +++ b/.github/workflows/security-audit.yml @@ -1,7 +1,5 @@ name: Security audit on: - schedule: - - cron: "0 8 * * *" push: paths: - "**/Cargo.*"