summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Heimes <christian@python.org>2021-03-08 11:42:41 +0100
committerChristian Heimes <christian@python.org>2021-03-08 11:56:40 +0100
commit0b646d64f1acb685d66748f29192dae44c3ff147 (patch)
treef14b677cba31abddabe04136cc2f8548e1b04824
parent8cbb1bec857a6f939e1d90f258bc244e4c70e252 (diff)
downloaddefusedxml-git-0b646d64f1acb685d66748f29192dae44c3ff147.tar.gz
Run GHA in bug fix branches
Signed-off-by: Christian Heimes <christian@python.org>
-rw-r--r--.github/workflows/main.yml12
1 files changed, 9 insertions, 3 deletions
diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml
index f66d308..84e8a69 100644
--- a/.github/workflows/main.yml
+++ b/.github/workflows/main.yml
@@ -1,14 +1,20 @@
on:
push:
- branches: ["master"]
+ branches:
+ - master
+ - main
+ - v*.x
pull_request:
- branches: ["master"]
+ branches:
+ - master
+ - main
+ - v*.x
workflow_dispatch:
jobs:
tests:
name: "Python ${{ matrix.python-version }}"
- runs-on: "ubuntu-latest"
+ runs-on: "ubuntu-20.04"
strategy:
fail-fast: false
matrix: