From 7a04538d9a3e4a1d14be4e1eadbe4329f27a0424 Mon Sep 17 00:00:00 2001 From: glimsdal Date: Tue, 15 Aug 2023 15:35:16 -0700 Subject: [PATCH] fix pr branch targeting for workflows --- .github/workflows/check-yaml.yml | 2 +- .github/workflows/test-cdk.yml | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/check-yaml.yml b/.github/workflows/check-yaml.yml index dc6ae1e..b15ff54 100644 --- a/.github/workflows/check-yaml.yml +++ b/.github/workflows/check-yaml.yml @@ -3,7 +3,7 @@ on: push: branches: ["**"] pull_request: - branches: [master] + branches: ["**"] jobs: Run-Pre-Commit: runs-on: ubuntu-latest diff --git a/.github/workflows/test-cdk.yml b/.github/workflows/test-cdk.yml index d202aed..fd14103 100644 --- a/.github/workflows/test-cdk.yml +++ b/.github/workflows/test-cdk.yml @@ -1,11 +1,11 @@ name: Test CDK Demos Pipeline on: push: - branches: ["**"] - paths: ["demos-pipeline/**"] + branches: ["cdk-pipeline"] + paths: ["demos-pipeline/**", ".github/workflows/test-cdk.yml"] pull_request: - branches: [master] - paths: ["demos-pipeline/**"] + branches: ["cdk-pipeline"] + paths: ["demos-pipeline/**", ".github/workflows/test-cdk.yml"] jobs: Run-CDK-Tests: runs-on: ubuntu-latest