Skip to content

Commit

Permalink
ci: only build the master branch on push
Browse files Browse the repository at this point in the history
Otherwise, in the case a PR is created from a branch that is pushed to
this repo, we create a workflow run for the PR and the branch itself.
  • Loading branch information
myitcv committed Jan 18, 2021
1 parent eea92b9 commit 71ed136
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion .github/workflows/test.yml
@@ -1,4 +1,10 @@
on: [push, pull_request]
on:
push:
branches:
- master
pull_request:
branches:
- '**'
name: Test
jobs:
test:
Expand Down

0 comments on commit 71ed136

Please sign in to comment.