Skip to content

Commit

Permalink
Only run CI on pushes/PRs targeting master.
Browse files Browse the repository at this point in the history
This should prevent CI from running on pushes to the non-master
branch.
  • Loading branch information
rossbar committed Feb 13, 2023
1 parent b4cfa03 commit 0ce6c0c
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/workflows/tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,11 @@

name: build

on: [push, pull_request]
on:
push:
branches: [master]
pull_request:
branches: [master]

jobs:
tests:
Expand Down

0 comments on commit 0ce6c0c

Please sign in to comment.