From 0be451eca3a99325104289ab510119b1392d4491 Mon Sep 17 00:00:00 2001 From: daz Date: Wed, 10 Apr 2024 10:22:57 -0600 Subject: [PATCH] Simplify the workflow triggers --- .github/workflows/ci-check-no-dist-update.yml | 9 +++------ .github/workflows/ci-update-dist.yml | 6 ++---- 2 files changed, 5 insertions(+), 10 deletions(-) diff --git a/.github/workflows/ci-check-no-dist-update.yml b/.github/workflows/ci-check-no-dist-update.yml index 67b66fe..6582dd7 100644 --- a/.github/workflows/ci-check-no-dist-update.yml +++ b/.github/workflows/ci-check-no-dist-update.yml @@ -4,13 +4,10 @@ name: CI-check-no-dist-update on: push: branches-ignore: - - main - - release/* + - 'main' + - 'release/**' paths: - - dist** - pull_request: - paths: - - dist/** + - 'dist/**' permissions: contents: read diff --git a/.github/workflows/ci-update-dist.yml b/.github/workflows/ci-update-dist.yml index ad02823..5b42a4a 100644 --- a/.github/workflows/ci-update-dist.yml +++ b/.github/workflows/ci-update-dist.yml @@ -4,10 +4,8 @@ on: workflow_dispatch: push: branches: - - main - - release/** - paths-ignore: - - 'dist/**' + - 'main' + - 'release/**' permissions: contents: write