Skip to content

Commit

Permalink
fix pr branch targeting for workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
nateglims committed Aug 15, 2023
1 parent 8dd7979 commit 7a04538
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/check-yaml.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ on:
push:
branches: ["**"]
pull_request:
branches: [master]
branches: ["**"]
jobs:
Run-Pre-Commit:
runs-on: ubuntu-latest
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/test-cdk.yml
Original file line number Diff line number Diff line change
@@ -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
Expand Down

0 comments on commit 7a04538

Please sign in to comment.