💚 Only run CI on push when on master, to avoid duplicate runs on PRs (#244)

This commit is contained in:
Sebastián Ramírez
2022-02-13 18:14:02 +01:00
committed by GitHub
parent e6f8c00bbe
commit 7176d89e48
2 changed files with 4 additions and 0 deletions

View File

@@ -1,6 +1,8 @@
name: Build Docs
on:
push:
branches:
- main
pull_request:
types: [opened, synchronize]
workflow_dispatch:

View File

@@ -2,6 +2,8 @@ name: Test
on:
push:
branches:
- main
pull_request:
types: [opened, synchronize]
workflow_dispatch: