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:
|
||||
push:
|
||||
branches:
|
||||
- master
|
||||
tags:
|
||||
- '*'
|
||||
|
||||
|
2
.github/workflows/test.yaml
vendored
2
.github/workflows/test.yaml
vendored
@ -1,6 +1,6 @@
|
||||
name: Test
|
||||
|
||||
on: pull_request
|
||||
on: push
|
||||
|
||||
defaults:
|
||||
run:
|
||||
|
Loading…
Reference in New Issue
Block a user