Skip to content

Commit

Permalink
ci: Ensure that codecov only runs for main branch and PRs
Browse files Browse the repository at this point in the history
  • Loading branch information
jacobsvante committed Mar 11, 2022
1 parent c9bfb16 commit 88c4077
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions .github/workflows/cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ name: cd
on:
push:
branches: [main]

jobs:
release-please:
runs-on: ubuntu-latest
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/codecov.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ name: codecov

on:
push:
branches: [main]
pull_request:

jobs:
Expand Down
3 changes: 1 addition & 2 deletions .github/workflows/docs.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
name: docs
on:
push:
branches:
- main
branches: [main]

jobs:
deploy:
Expand Down

0 comments on commit 88c4077

Please sign in to comment.