Minor update to GH Actions workflow (#1341)
* Update releases.yml Run CI for pull requests and new tags, and only when relevant files change in a push or PR. * Update releases.yml "Path filters are not evaluated for pushes to tags."
This commit is contained in:
parent
3d5f877058
commit
ee62eb7b23
|
@ -1,4 +1,20 @@
|
|||
on: push
|
||||
on:
|
||||
push:
|
||||
paths:
|
||||
- "**.go"
|
||||
- "go.*"
|
||||
- "**/testdata/**"
|
||||
- ".ci/**"
|
||||
- ".git*"
|
||||
- ".github/workflows/releases.yml"
|
||||
pull_request:
|
||||
paths:
|
||||
- "**.go"
|
||||
- "go.*"
|
||||
- "**/testdata/**"
|
||||
- ".ci/**"
|
||||
- ".git*"
|
||||
- ".github/workflows/releases.yml"
|
||||
|
||||
name: CI and optionally publish
|
||||
|
||||
|
|
Loading…
Reference in New Issue