From 88c407797d1fdef16b7ac7753f8b16c4829930aa Mon Sep 17 00:00:00 2001 From: Jacob Magnusson Date: Fri, 11 Mar 2022 12:08:02 +0100 Subject: [PATCH] ci: Ensure that codecov only runs for main branch and PRs --- .github/workflows/cd.yml | 1 + .github/workflows/codecov.yml | 1 + .github/workflows/docs.yml | 3 +-- 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/cd.yml b/.github/workflows/cd.yml index f1eb850..023bd6d 100644 --- a/.github/workflows/cd.yml +++ b/.github/workflows/cd.yml @@ -2,6 +2,7 @@ name: cd on: push: branches: [main] + jobs: release-please: runs-on: ubuntu-latest diff --git a/.github/workflows/codecov.yml b/.github/workflows/codecov.yml index f528a0b..5ddc8ca 100644 --- a/.github/workflows/codecov.yml +++ b/.github/workflows/codecov.yml @@ -2,6 +2,7 @@ name: codecov on: push: + branches: [main] pull_request: jobs: diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml index 5049875..a6f331f 100644 --- a/.github/workflows/docs.yml +++ b/.github/workflows/docs.yml @@ -1,8 +1,7 @@ name: docs on: push: - branches: - - main + branches: [main] jobs: deploy: