Reduce triggers in workflows

See #182. Workflows are now triggered on all PRs but only on push on the main and v1 branch
This commit is contained in:
Marco Gario 2020-09-17 14:35:28 +02:00
parent c9b06117cb
commit ade519b950
3 changed files with 20 additions and 11 deletions

View file

@ -1,6 +1,9 @@
name: "CodeQL action"
on: [push, pull_request]
on:
push:
branches: [main, v1]
pull_request:
jobs:
build: