Skip to content

Commit

Permalink
Stop build duplication
Browse files Browse the repository at this point in the history
We were building on each push, and on each pull request. The change will make it so that only pushes to master will build, rather than every single commit individually.
  • Loading branch information
VoyTechnology authored Sep 21, 2021
1 parent 07449d0 commit 9107849
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,13 @@
# Workflow used as Continous Integration every time we have a PR.
name: CI
on: [push, pull_request]

on:
# Only build when pushed to master
push:
branches:
- master
# Build all pull requests
pull_request:

jobs:
lint:
Expand Down

0 comments on commit 9107849

Please sign in to comment.