From 0ad6f0f9b0870fbfd2d844c766c0e8c6be5ae1de Mon Sep 17 00:00:00 2001 From: Sean Hammond Date: Tue, 19 Sep 2023 11:43:28 +0100 Subject: [PATCH] Run `ci.yml` after any push to `main` Re-run `ci.yml` on `main` after merging a PR (or after pushing commits directly to `main`). This is necessary for two reasons: 1. It updates GitHub Actions caches on `main` (which can be read from any PR branches), which saves time re-installing dependencies on PRs 2. It will send us a Slack notification if CI fails on `main` This will enable us to remove the `ci.yml` call from `deploy.yml`. --- .github/workflows/ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 8eee103e..c9698f28 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -1,7 +1,7 @@ name: CI on: - pull_request: + push: paths-ignore: - '.cookiecutter/*' - 'docs/*'