1
0
mirror of https://github.com/moparisthebest/curl synced 2024-12-23 16:48:49 -05: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:
Marc Hoersken 2020-07-12 22:07:38 +02:00
parent 35fa07c84b
commit a88fe0fd14
No known key found for this signature in database
GPG Key ID: 61E03CBED7BC859E

View File

@ -1,16 +1,21 @@
name: "Code scanning - action"
name: CI
on:
# Trigger the workflow on push or pull requests, but only for the
# master branch
push:
branches:
- master
- '*/ci'
pull_request:
branches:
- master
schedule:
- cron: '0 0 * * 4'
jobs:
CodeQL-Build:
codeql:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v2