Skip to content

Commit

Permalink
Only run CI on master or PRs branched from master (#5561)
Browse files Browse the repository at this point in the history
We really don't need to run CI twice for every PR.
  • Loading branch information
lildude committed Sep 8, 2021
1 parent 455c340 commit bc56fd0
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion .github/workflows/ci.yml
@@ -1,6 +1,13 @@
name: Run Tests

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

jobs:
run:
Expand Down

0 comments on commit bc56fd0

Please sign in to comment.