summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTodd Leonhardt <todd.leonhardt@gmail.com>2021-01-31 10:16:42 -0500
committerTodd Leonhardt <todd.leonhardt@gmail.com>2021-01-31 10:16:42 -0500
commitbba9e5052a6ce2b892fef6c7cc9a3e4016af89d0 (patch)
tree0efa8b67b059adc9b36bd598818877828ce2b3db
parent6bf3a2a24b9500973e7c9060c133fed352e2b325 (diff)
downloadcmd2-git-bba9e5052a6ce2b892fef6c7cc9a3e4016af89d0.tar.gz
Simplify GitHub Actions workflow configs so they run on any push or PR instead of only ones to specific branches
I like getting to see the output of CI tools while I develop on a branch and suspect that will be handy for others as well.
-rw-r--r--.github/workflows/ci.yml10
-rw-r--r--.github/workflows/doc.yml10
-rw-r--r--.github/workflows/lint.yml10
3 files changed, 3 insertions, 27 deletions
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index 8788a530..770ac02c 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -2,15 +2,7 @@
# https://docs.github.com/en/actions/reference/workflow-syntax-for-github-actions
name: CI
-on:
- push:
- branches:
- - master
- - 2.0
- pull_request:
- branches:
- - master
- - 2.0
+on: [push, pull_request]
env:
PYTHON_LATEST: 3.9
diff --git a/.github/workflows/doc.yml b/.github/workflows/doc.yml
index 26df30d2..f9ed6ca8 100644
--- a/.github/workflows/doc.yml
+++ b/.github/workflows/doc.yml
@@ -2,15 +2,7 @@
# https://docs.github.com/en/actions/reference/workflow-syntax-for-github-actions
name: Doc
-on:
- push:
- branches:
- - master
- - 2.0
- pull_request:
- branches:
- - master
- - 2.0
+on: [push, pull_request]
env:
PYTHON_LATEST: 3.9
diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml
index 13c57507..d554bb52 100644
--- a/.github/workflows/lint.yml
+++ b/.github/workflows/lint.yml
@@ -2,15 +2,7 @@
# https://docs.github.com/en/actions/reference/workflow-syntax-for-github-actions
name: Lint
-on:
- push:
- branches:
- - master
- - 2.0
- pull_request:
- branches:
- - master
- - 2.0
+on: [push, pull_request]
env:
PYTHON_LATEST: 3.9