]> git.ipfire.org Git - thirdparty/fastapi/sqlmodel.git/commitdiff
💚 Only run CI on push when on master, to avoid duplicate runs on PRs (#244)
authorSebastián Ramírez <tiangolo@gmail.com>
Sun, 13 Feb 2022 17:14:02 +0000 (18:14 +0100)
committerGitHub <noreply@github.com>
Sun, 13 Feb 2022 17:14:02 +0000 (17:14 +0000)
.github/workflows/build-docs.yml
.github/workflows/test.yml

index 72a79d19f7b1652356059010901934d5f79fc66a..18e35b308eebe3cd57c434ba3d4e459e8719d479 100644 (file)
@@ -1,6 +1,8 @@
 name: Build Docs
 on:
   push:
+    branches:
+      - main
   pull_request:
     types: [opened, synchronize]
   workflow_dispatch:
index 6e15a7d6f77a448424fb2ea7933063b0ffda4c87..744a0fa250ff0fbb6be1261b7241c66df2e0bee9 100644 (file)
@@ -2,6 +2,8 @@ name: Test
 
 on:
   push:
+    branches:
+      - main
   pull_request:
     types: [opened, synchronize]
   workflow_dispatch: