Skip to content

Commit

Permalink
💚 Only run CI on push when on master, to avoid duplicate runs on PRs (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
tiangolo committed Feb 13, 2022
1 parent e6f8c00 commit 7176d89
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/build-docs.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
name: Build Docs
on:
push:
branches:
- main
pull_request:
types: [opened, synchronize]
workflow_dispatch:
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@ name: Test

on:
push:
branches:
- main
pull_request:
types: [opened, synchronize]
workflow_dispatch:
Expand Down

0 comments on commit 7176d89

Please sign in to comment.