summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSeth Morton <seth.m.morton@gmail.com>2020-11-23 21:44:19 -0800
committerSeth Morton <seth.m.morton@gmail.com>2020-11-23 21:44:19 -0800
commit034052b68603ce69a168d87256c5219381b70ebd (patch)
tree2adc522ee14cc35be31bcfb47e747fd981d45ead
parentd4e8d277d02bf60f6932f0f749c4dd4f900460c2 (diff)
downloadnatsort-034052b68603ce69a168d87256c5219381b70ebd.tar.gz
Do not run tests and quality on tags
-rw-r--r--.github/workflows/code-quality.yml10
-rw-r--r--.github/workflows/tests.yml10
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: