diff options
author | Seth Morton <seth.m.morton@gmail.com> | 2020-11-23 21:44:19 -0800 |
---|---|---|
committer | Seth Morton <seth.m.morton@gmail.com> | 2020-11-23 21:44:19 -0800 |
commit | 034052b68603ce69a168d87256c5219381b70ebd (patch) | |
tree | 2adc522ee14cc35be31bcfb47e747fd981d45ead /.github | |
parent | d4e8d277d02bf60f6932f0f749c4dd4f900460c2 (diff) | |
download | natsort-034052b68603ce69a168d87256c5219381b70ebd.tar.gz |
Do not run tests and quality on tags
Diffstat (limited to '.github')
-rw-r--r-- | .github/workflows/code-quality.yml | 10 | ||||
-rw-r--r-- | .github/workflows/tests.yml | 10 |
2 files changed, 16 insertions, 4 deletions
diff --git a/.github/workflows/code-quality.yml b/.github/workflows/code-quality.yml index b158e4f..f95887b 100644 --- a/.github/workflows/code-quality.yml +++ b/.github/workflows/code-quality.yml @@ -1,7 +1,13 @@ name: Code Quality -# Run this workflow every time a new commit pushed to your repository -on: [push, pull_request] +# Only run on branches (e.g. not tags) +on: + push: + branches: + - "*" + pull_request: + branches: + - "*" jobs: formatting: diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index cb09bad..c421dcf 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -1,7 +1,13 @@ name: Tests -# Run this workflow every time a new commit pushed to your repository -on: [push, pull_request] +# Only run on branches (e.g. not tags) +on: + push: + branches: + - "*" + pull_request: + branches: + - "*" jobs: tests: |