From 18c3abf1412a7b979d7e94565f98dcb7983b51bc Mon Sep 17 00:00:00 2001 From: Lando Calrissian Date: Fri, 12 Jul 2024 14:16:18 +0000 Subject: [PATCH] Replace actions trigger with on: [push] --- .github/workflows/build.yml | 9 +-------- .github/workflows/ci.yml | 8 +------- 2 files changed, 2 insertions(+), 15 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index aaf4b69..6cb4cd6 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -1,12 +1,6 @@ name: Build on: - pull_request: - push: - branches: - - main - tags: - - "*" - + - push jobs: build: runs-on: ubuntu-latest @@ -25,7 +19,6 @@ jobs: with: name: artifact path: dist/* - release: name: Publish package if: startsWith(github.ref, 'refs/tags/') diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index dbc7f68..0de9a36 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -1,15 +1,10 @@ name: CI on: - pull_request: - push: - branches: - - main - + - push # Automatically stop old builds on the same branch/PR concurrency: group: ${{ github.workflow }}-${{ github.ref }} cancel-in-progress: true - jobs: pre-commit: timeout-minutes: 30 @@ -23,7 +18,6 @@ jobs: environments: default lint - name: pre-commit run: pixi run pre-commit-run --color=always --show-diff-on-failure - pytest: timeout-minutes: 30 runs-on: ubuntu-latest