Improve GitHub Actions workflow triggers (#1033)
- Only run release workflow on pushed tags - Run test workflow on all pushes
This commit is contained in:
parent
e84dc0ff8f
commit
daef7caaed
2
.github/workflows/release.yaml
vendored
2
.github/workflows/release.yaml
vendored
@ -2,8 +2,6 @@ name: Release
|
|||||||
|
|
||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
branches:
|
|
||||||
- master
|
|
||||||
tags:
|
tags:
|
||||||
- '*'
|
- '*'
|
||||||
|
|
||||||
|
2
.github/workflows/test.yaml
vendored
2
.github/workflows/test.yaml
vendored
@ -1,6 +1,6 @@
|
|||||||
name: Test
|
name: Test
|
||||||
|
|
||||||
on: pull_request
|
on: push
|
||||||
|
|
||||||
defaults:
|
defaults:
|
||||||
run:
|
run:
|
||||||
|
Loading…
Reference in New Issue
Block a user