Skip to content

Commit

Permalink
Trigger the workflow on push or pull request, but only for the master…
Browse files Browse the repository at this point in the history
  • Loading branch information
pdecat committed Mar 20, 2021
1 parent 9efe9a1 commit f21f54d
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,13 @@
name: Python package

on: [push, pull_request]
on:
# Trigger the workflow on push or pull request, but only for the master branch
push:
branches:
- master
pull_request:
branches:
- master

env:
target_python_version: 3.8
Expand Down

0 comments on commit f21f54d

Please sign in to comment.