From 02f4e92dff6d2128f93ebd68dd59f97ae3821cc3 Mon Sep 17 00:00:00 2001 From: Andrew Kolos Date: Tue, 25 Jun 2024 15:25:41 -0700 Subject: [PATCH 1/3] run CI on all PR branches --- .github/workflows/cli_config.yml | 1 - .github/workflows/extension_discovery.yml | 1 - .github/workflows/graphs.yml | 6 ++---- .github/workflows/publish.yaml | 3 ++- .github/workflows/unified_analytics.yml | 1 - 5 files changed, 4 insertions(+), 8 deletions(-) diff --git a/.github/workflows/cli_config.yml b/.github/workflows/cli_config.yml index 10ee7300b..65397d6d0 100644 --- a/.github/workflows/cli_config.yml +++ b/.github/workflows/cli_config.yml @@ -3,7 +3,6 @@ permissions: read-all on: pull_request: - branches: [main] paths: - ".github/workflows/cli_config.yml" - "pkgs/cli_config/**" diff --git a/.github/workflows/extension_discovery.yml b/.github/workflows/extension_discovery.yml index 17a65c0da..72b629a34 100644 --- a/.github/workflows/extension_discovery.yml +++ b/.github/workflows/extension_discovery.yml @@ -3,7 +3,6 @@ permissions: read-all on: pull_request: - branches: [ main ] paths: - '.github/workflows/unified_analytics.yml' - 'pkgs/extension_discovery/**' diff --git a/.github/workflows/graphs.yml b/.github/workflows/graphs.yml index 50df5bd56..d396fd493 100644 --- a/.github/workflows/graphs.yml +++ b/.github/workflows/graphs.yml @@ -2,13 +2,11 @@ name: package:graphs permissions: read-all on: - # Run on PRs and pushes to the default branch. - push: - branches: [ main ] + pull_request: paths: - '.github/workflows/graphs.yml' - 'pkgs/graphs/**' - pull_request: + push: branches: [ main ] paths: - '.github/workflows/graphs.yml' diff --git a/.github/workflows/publish.yaml b/.github/workflows/publish.yaml index 2ec45aaba..cb7bb1ec7 100644 --- a/.github/workflows/publish.yaml +++ b/.github/workflows/publish.yaml @@ -4,7 +4,8 @@ name: Publish on: pull_request: - branches: [ main ] + branches: + - '**' push: tags: [ '[A-z]+-v[0-9]+.[0-9]+.[0-9]+' ] diff --git a/.github/workflows/unified_analytics.yml b/.github/workflows/unified_analytics.yml index 0fb19b949..26127aa9b 100644 --- a/.github/workflows/unified_analytics.yml +++ b/.github/workflows/unified_analytics.yml @@ -3,7 +3,6 @@ permissions: read-all on: pull_request: - branches: [ main ] paths: - '.github/workflows/unified_analytics.yml' - 'pkgs/unified_analytics/**' From 680b8ac95ee2962e36dec0bbe81075f4766d199e Mon Sep 17 00:00:00 2001 From: Andrew Kolos Date: Tue, 25 Jun 2024 19:28:16 -0700 Subject: [PATCH 2/3] revert change to publish.yaml --- .github/workflows/publish.yaml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.github/workflows/publish.yaml b/.github/workflows/publish.yaml index cb7bb1ec7..2ec45aaba 100644 --- a/.github/workflows/publish.yaml +++ b/.github/workflows/publish.yaml @@ -4,8 +4,7 @@ name: Publish on: pull_request: - branches: - - '**' + branches: [ main ] push: tags: [ '[A-z]+-v[0-9]+.[0-9]+.[0-9]+' ] From dd89a8fbe6cc71644ea6d53ae62ed3172f00d94d Mon Sep 17 00:00:00 2001 From: Andrew Kolos Date: Thu, 21 Nov 2024 10:07:42 -0800 Subject: [PATCH 3/3] remove potential ambiguity in comment --- .github/workflows/graphs.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/graphs.yml b/.github/workflows/graphs.yml index 3c0daabe7..f467a7f92 100644 --- a/.github/workflows/graphs.yml +++ b/.github/workflows/graphs.yml @@ -3,7 +3,7 @@ name: package:graphs permissions: read-all on: - # Run CI on all PRs and on pushes to the main branch. + # Run CI on all PRs (against any branch) and on pushes to the main branch. pull_request: paths: - '.github/workflows/graphs.yml'