💚 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
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 0 deletions

View File

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

View File

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