Skip to content

Commit

Permalink
MNT trigger actions only once on PR
Browse files Browse the repository at this point in the history
  • Loading branch information
TomDLT committed Jun 9, 2022
1 parent 95adbb7 commit e9093d0
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 3 deletions.
6 changes: 5 additions & 1 deletion .github/workflows/build_docs.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
name: Build docs

on: [push, pull_request]
on:
push:
branches:
- main
pull_request:

jobs:
build-docs:
Expand Down
6 changes: 5 additions & 1 deletion .github/workflows/install_from_wheel.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
name: Install from wheel

on: [push, pull_request]
on:
push:
branches:
- main
pull_request:

jobs:
install-from-wheel:
Expand Down
6 changes: 5 additions & 1 deletion .github/workflows/run_tests.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
name: Tests

on: [push, pull_request]
on:
push:
branches:
- main
pull_request:

jobs:
run-tests:
Expand Down

0 comments on commit e9093d0

Please sign in to comment.