Skip to content

Commit

Permalink
Improve GitHub Actions workflow triggers (#1033)
Browse files Browse the repository at this point in the history
- Only run release workflow on pushed tags
- Run test workflow on all pushes
  • Loading branch information
casey authored Nov 22, 2021
1 parent e84dc0f commit daef7ca
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 0 additions & 2 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@ name: Release

on:
push:
branches:
- master
tags:
- '*'

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: Test

on: pull_request
on: push

defaults:
run:
Expand Down

0 comments on commit daef7ca

Please sign in to comment.