Skip to content

armgit / zulip

Public Imported from GitHub
0

Zulip server and web application. Open-source team chat that helps teams stay productive and focused.

ci: Avoid duplicate GitHub Actions runs for push, pull_request.

Anders Kaseorgacff0879e7a3
diff --git a/.github/workflows/codeql-analysis.yml b/.github/workflows/codeql-analysis.yml
index 53e53215733..569a40404b2 100644
--- a/.github/workflows/codeql-analysis.yml
+++ b/.github/workflows/codeql-analysis.yml
@@ -2,9 +2,10 @@ name: "Code scanning"
on:
push:
- branches-ignore:
- - dependabot/** # https://github.com/github/codeql-action/pull/435
- pull_request: {}
+ branches: ["*.x", chat.zulip.org, main]
+ tags: ["*"]
+ pull_request:
+ workflow_dispatch:
concurrency:
group: "${{ github.workflow }}-${{ github.head_ref || github.run_id }}"
diff --git a/.github/workflows/production-suite.yml b/.github/workflows/production-suite.yml
index 81aab733f03..a65131fefec 100644
--- a/.github/workflows/production-suite.yml
+++ b/.github/workflows/production-suite.yml
@@ -1,7 +1,9 @@
name: Zulip production suite
on:
- push: {}
+ push:
+ branches: ["*.x", chat.zulip.org, main]
+ tags: ["*"]
pull_request:
paths:
- .github/workflows/production-suite.yml
@@ -21,6 +23,7 @@ on:
- zerver/lib/push_notifications.py
- zerver/decorator.py
- zproject/**
+ workflow_dispatch:
concurrency:
group: "${{ github.workflow }}-${{ github.head_ref || github.run_id }}"
diff --git a/.github/workflows/zulip-ci.yml b/.github/workflows/zulip-ci.yml
index 9f5e45db154..7f031a2a77e 100644
--- a/.github/workflows/zulip-ci.yml
+++ b/.github/workflows/zulip-ci.yml
@@ -4,7 +4,12 @@
name: Zulip CI
-on: [push, pull_request]
+on:
+ push:
+ branches: ["*.x", chat.zulip.org, main]
+ tags: ["*"]
+ pull_request:
+ workflow_dispatch:
concurrency:
group: "${{ github.workflow }}-${{ github.head_ref || github.run_id }}"