From e794fc1e2d3bb74a83c044fb54c499521350d548 Mon Sep 17 00:00:00 2001 From: Paul Madden Date: Thu, 25 Jan 2024 03:05:03 +0000 Subject: [PATCH] Trigger test workflow on develop + main, release only on push to main --- .github/workflows/release.yaml | 6 ------ .github/workflows/test.yaml | 3 +++ 2 files changed, 3 insertions(+), 6 deletions(-) diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 01ee247cf..1acdc77cd 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -2,15 +2,9 @@ name: Release env: ANACONDA_TOKEN: ${{ secrets.ANACONDA_TOKEN }} on: - pull_request: - branches: - - main push: branches: - main - workflow_dispatch: - branches: - - main jobs: release: name: Release diff --git a/.github/workflows/test.yaml b/.github/workflows/test.yaml index 2b885939d..2113b3b9e 100644 --- a/.github/workflows/test.yaml +++ b/.github/workflows/test.yaml @@ -3,12 +3,15 @@ on: pull_request: branches: - develop + - main push: branches: - develop + - main workflow_dispatch: branches: - develop + - main jobs: test: name: Test