Skip to content

Commit

Permalink
Remove CodeQL workflow schedule and matrix, run on PRs and pushes only
Browse files Browse the repository at this point in the history
  • Loading branch information
Jalle19 committed Sep 26, 2023
1 parent a5000c5 commit 79e2d56
Showing 1 changed file with 1 addition and 10 deletions.
11 changes: 1 addition & 10 deletions .github/workflows/codeql-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,6 @@ on:
pull_request:
# The branches below must be a subset of the branches above
branches: [ "master" ]
schedule:
- cron: '45 6 * * 5'

jobs:
analyze:
Expand All @@ -29,13 +27,6 @@ jobs:
contents: read
security-events: write

strategy:
fail-fast: false
matrix:
language: [ 'javascript' ]
# CodeQL supports [ 'cpp', 'csharp', 'go', 'java', 'javascript', 'python', 'ruby' ]
# Learn more about CodeQL language support at https://aka.ms/codeql-docs/language-support

steps:
- name: Checkout repository
uses: actions/checkout@v3
Expand All @@ -44,7 +35,7 @@ jobs:
- name: Initialize CodeQL
uses: github/codeql-action/init@v2
with:
languages: ${{ matrix.language }}
languages: javascript
# If you wish to specify custom queries, you can do so here or in a config file.
# By default, queries listed here will override any specified in a config file.
# Prefix the list here with "+" to use these queries and those in the config file.
Expand Down

0 comments on commit 79e2d56

Please sign in to comment.