From 55f27058307049900000cd87745c930fdfa82752 Mon Sep 17 00:00:00 2001 From: Alexander Berger Date: Tue, 14 Nov 2023 17:40:49 -0500 Subject: [PATCH] Adding push event to tests and making events def consistent --- .github/workflows/release.yml | 6 ++++-- .github/workflows/tests.yml | 6 +++++- 2 files changed, 9 insertions(+), 3 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index b053196..efc2abe 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -2,8 +2,10 @@ name: Release to PyPI on: push: - branches: [ main ] - paths: ['pyproject.toml'] + branches: + - 'main' + paths: + - 'pyproject.toml' permissions: contents: write diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index cd9611c..e702bf3 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -1,7 +1,11 @@ name: Tests on: pull_request: - branches: [ main ] + branches: + - 'main' + push: + branches: + - 'main' jobs: test: strategy: