From 2e74026fdbef470ba5f35012d6d99b3042131bf4 Mon Sep 17 00:00:00 2001 From: Lando Calrissian Date: Tue, 9 Jul 2024 14:08:55 +0000 Subject: [PATCH] Replace actions trigger with on: [push] --- .github/workflows/build.yml | 9 +-------- .github/workflows/ci.yml | 7 +------ 2 files changed, 2 insertions(+), 14 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 30e981e..11eedf9 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 @@ -26,7 +20,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 162ca4f..623a650 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