diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index f2eb4b5..acef43d 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -1,7 +1,19 @@ -on: [pull_request] -name: draco-ci -jobs: +on: + pull_request: + # Run on all pull requests. + push: + # Run on merges/pushes to master. + branches: + - master + + schedule: + # Run nightly, at midnight. + - cron: '8 0 * * *' + +name: draco-ci + +jobs: # Main build and test job. draco-tests: strategy: diff --git a/README.md b/README.md index 3c591c6..a64034e 100644 --- a/README.md +++ b/README.md @@ -2,8 +2,7 @@

-![draco-ci](https://github.com/google/draco/actions/workflows/ci.yml/badge.svg) - +[![draco-ci](https://github.com/google/draco/actions/workflows/ci.yml/badge.svg)](https://github.com/google/draco/actions/workflows/ci.yml) News =======