From 7c03d8d7fbfca34e7884d26505348647354fbadb Mon Sep 17 00:00:00 2001 From: Brad Peters Date: Mon, 22 May 2023 20:52:29 -0400 Subject: [PATCH] fix(actions): When Github actions should trigger (#2) * fix(actions): When Github actions should trigger * update(actions): Add glob pattern to catch all branches --- .github/workflows/ci.yaml | 5 +---- .github/workflows/pull-request.yaml | 6 ++++-- 2 files changed, 5 insertions(+), 6 deletions(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index bacc5c8..e36bc87 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -3,10 +3,7 @@ name: CI on: push: branches: - - main - pull_request: - branches: - - main + - main env: CI: true diff --git a/.github/workflows/pull-request.yaml b/.github/workflows/pull-request.yaml index d55be1c..9a84e88 100644 --- a/.github/workflows/pull-request.yaml +++ b/.github/workflows/pull-request.yaml @@ -3,10 +3,12 @@ name: Pull Request on: push: branches: - - !main + - '**' + - '!main' pull_request: branches: - - !main + - '**' + - '!main' env: CI: true