From 178001072008af0756423c8525c7f1c927f89c53 Mon Sep 17 00:00:00 2001 From: Stephen Kent Date: Fri, 25 Feb 2022 00:56:59 -0800 Subject: [PATCH 1/2] Don't start redundant builds on pull requests Builds are already created as part of the push event --- .github/workflows/ci.yml | 1 - {{cookiecutter.project_name}}/.github/workflows/ci.yml | 1 - 2 files changed, 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index d10e257..6532525 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -3,7 +3,6 @@ name: CI on: push: - pull_request: workflow_dispatch: jobs: diff --git a/{{cookiecutter.project_name}}/.github/workflows/ci.yml b/{{cookiecutter.project_name}}/.github/workflows/ci.yml index c6dda71..52c1d73 100644 --- a/{{cookiecutter.project_name}}/.github/workflows/ci.yml +++ b/{{cookiecutter.project_name}}/.github/workflows/ci.yml @@ -3,7 +3,6 @@ name: CI on: push: - pull_request: workflow_dispatch: jobs: From 15967ecc014b43d6f1e21ea2a281051f475180c3 Mon Sep 17 00:00:00 2001 From: Stephen Kent Date: Fri, 25 Feb 2022 01:01:03 -0800 Subject: [PATCH 2/2] Remove conditional for repository package build --- .github/workflows/ci.yml | 1 - 1 file changed, 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 6532525..69f496c 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -36,7 +36,6 @@ jobs: run: poetry run tox - name: 📦 Build package - if: env.ENABLE_PYPI_PUBLISH run: poetry build concurrency: