diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 0a42ed0..9a468e2 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -2,9 +2,12 @@ name: CI on: pull_request: + types: [synchronize, opened, reopened] push: - branches: - - master + branches: [master] + schedule: + # Run once per week (At 00:00 on Sunday) to maintain cache + - cron: '0 0 * * 0' jobs: workflow: diff --git a/.github/workflows/style.yml b/.github/workflows/style.yml index ba93414..dafb2b2 100644 --- a/.github/workflows/style.yml +++ b/.github/workflows/style.yml @@ -2,9 +2,9 @@ name: Code Style on: pull_request: + types: [synchronize, opened, reopened] push: - braches: - - master + branches: [master] jobs: checks: