github/build: don't run build on tags

This is almost always redundant.
This commit is contained in:
David Lechner
2022-06-24 15:37:59 -05:00
parent 470eebd1c5
commit a758eaa1db
2 changed files with 16 additions and 1 deletions
+13 -1
View File
@@ -3,7 +3,19 @@
name: Build Python package and docs
on: [ push, pull_request ]
on:
push:
tags-ignore:
- "*"
pull_request:
paths:
- doc/**
- src/**
- poetry.lock
- poetry.toml
- pyproject.toml
- setup.cfg
jobs:
build:
+3
View File
@@ -49,4 +49,7 @@
"python.analysis.extraPaths": [
"jedi/src"
],
"yaml.schemas": {
"https://json.schemastore.org/github-workflow.json": "file:///home/david/work/pybricks/pybricks-api/.github/workflows/build.yml"
},
}