ci: Limit CodeQL analysis with the same branches for push, pull_request.

Silences “Warning: 1 issue was detected with this workflow: Please
make sure that every branch in on.pull_request is also in on.push so
that Code Scanning can compare pull requests against the state of the
base branch.”

Signed-off-by: Anders Kaseorg <anders@zulip.com>
This commit is contained in:
Anders Kaseorg 2022-07-07 13:23:25 -07:00 committed by Tim Abbott
parent ff93c6ed69
commit e8283b37b4
1 changed files with 1 additions and 0 deletions

View File

@ -5,6 +5,7 @@ on:
branches: ["*.x", chat.zulip.org, main]
tags: ["*"]
pull_request:
branches: ["*.x", chat.zulip.org, main]
workflow_dispatch:
concurrency: