Skip to content

Commit a758eaa

Browse files
committed
github/build: don't run build on tags
This is almost always redundant.
1 parent 470eebd commit a758eaa

File tree

2 files changed

+16
-1
lines changed

2 files changed

+16
-1
lines changed

.github/workflows/build.yml

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,19 @@
33

44
name: Build Python package and docs
55

6-
on: [ push, pull_request ]
6+
on:
7+
push:
8+
tags-ignore:
9+
- "*"
10+
pull_request:
11+
paths:
12+
- doc/**
13+
- src/**
14+
- poetry.lock
15+
- poetry.toml
16+
- pyproject.toml
17+
- setup.cfg
18+
719

820
jobs:
921
build:

.vscode/settings.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,4 +49,7 @@
4949
"python.analysis.extraPaths": [
5050
"jedi/src"
5151
],
52+
"yaml.schemas": {
53+
"https://json.schemastore.org/github-workflow.json": "file:///home/david/work/pybricks/pybricks-api/.github/workflows/build.yml"
54+
},
5255
}

0 commit comments

Comments
 (0)