mirror of
https://github.com/curl/curl.git
synced 2025-09-20 19:12:40 +03:00
workflows: limit what branches to run CodeQL on
Align CodeQL action with existing CI actions: - Update branch filter to avoid duplicate CI runs. - Shorten workflow name due to informative job name. Reviewed-by: Daniel Stenberg Closes #5660
This commit is contained in:
parent
35fa07c84b
commit
a88fe0fd14
13
.github/workflows/codeql-analysis.yml
vendored
13
.github/workflows/codeql-analysis.yml
vendored
|
@ -1,16 +1,21 @@
|
||||||
name: "Code scanning - action"
|
name: CI
|
||||||
|
|
||||||
on:
|
on:
|
||||||
|
# Trigger the workflow on push or pull requests, but only for the
|
||||||
|
# master branch
|
||||||
push:
|
push:
|
||||||
|
branches:
|
||||||
|
- master
|
||||||
|
- '*/ci'
|
||||||
pull_request:
|
pull_request:
|
||||||
|
branches:
|
||||||
|
- master
|
||||||
schedule:
|
schedule:
|
||||||
- cron: '0 0 * * 4'
|
- cron: '0 0 * * 4'
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
CodeQL-Build:
|
codeql:
|
||||||
|
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout repository
|
- name: Checkout repository
|
||||||
uses: actions/checkout@v2
|
uses: actions/checkout@v2
|
||||||
|
|
Loading…
Reference in New Issue
Block a user