Skip to content

Commit

Permalink
CI: only run build when keymap has changed
Browse files Browse the repository at this point in the history
  • Loading branch information
MattSturgeon authored Sep 16, 2023
1 parent e87c12d commit 267fba5
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,15 @@
name: Build

on: [push, pull_request, workflow_dispatch]
on:
workflow_dispatch: # can be triggered manually
pull_request:
push: # automatically run on changes to following paths
paths:
- "config/*.keymap"
- "config/glove80.conf"
- "config/info.json"
- "config/keymap.json"
- "config/default.nix"

jobs:
build:
Expand Down

0 comments on commit 267fba5

Please sign in to comment.