diff --git a/.github/workflows/check-spelling.yaml b/.github/workflows/check-spelling.yaml index df356cf0f..9def1c659 100644 --- a/.github/workflows/check-spelling.yaml +++ b/.github/workflows/check-spelling.yaml @@ -1,8 +1,10 @@ on: push: branches: [main] - pull_request: - branches: [main] + schedule: + # * is a special character in YAML so you have to quote this string + # Trigger once a week at 00:00 on Sunday + - cron: "0 0 * * SUN" name: check-spelling diff --git a/.github/workflows/check-styling.yaml b/.github/workflows/check-styling.yaml index ca0027b04..cfa17ff44 100644 --- a/.github/workflows/check-styling.yaml +++ b/.github/workflows/check-styling.yaml @@ -1,8 +1,10 @@ on: push: branches: [main] - pull_request: - branches: [main] + schedule: + # * is a special character in YAML so you have to quote this string + # Trigger once a week at 00:00 on Sunday + - cron: "0 0 * * SUN" name: check-styling