Browse Source

Fix actions

Joseph Turian 3 years ago
parent
commit
4ce392846c
2 changed files with 10 additions and 2 deletions
  1. 7 1
      .github/workflows/codeql-analysis.yml
  2. 3 1
      .github/workflows/lint.yml

+ 7 - 1
.github/workflows/codeql-analysis.yml

@@ -1,6 +1,12 @@
 name: "CodeQL"
 
-on: [push]
+on:
+  push:
+    branches: [ dev ]
+  pull_request:
+    branches: [ dev ]
+  schedule:
+    - cron: '43 1 * * 2'
 
 jobs:
   analyze:

+ 3 - 1
.github/workflows/lint.yml

@@ -1,6 +1,8 @@
 name: Run linters
 
-on: [push]
+on:
+  workflow_dispatch:
+  push:
 
 env:
   MAX_LINE_LENGTH: 110