mirror of
https://github.com/mattermost/mattermost.git
synced 2025-02-25 18:55:24 -06:00
* Running CodeQL everyday twice * Updated scorecard-check to run everyday * Running Scorecard job once a day * Disabling Scorecard Job on every PR Co-authored-by: Mattermod <mattermod@users.noreply.github.com>
32 lines
690 B
YAML
32 lines
690 B
YAML
name: "CodeQL"
|
|
|
|
on:
|
|
pull_request:
|
|
# The branches below must be a subset of the branches above
|
|
branches: [ master ]
|
|
schedule:
|
|
- cron: '30 5,17 * * *'
|
|
|
|
jobs:
|
|
analyze:
|
|
name: Analyze
|
|
runs-on: ubuntu-latest
|
|
|
|
strategy:
|
|
fail-fast: false
|
|
matrix:
|
|
language: [ 'go', 'javascript' ]
|
|
|
|
steps:
|
|
- name: Checkout repository
|
|
uses: actions/checkout@v2
|
|
- name: Initialize CodeQL
|
|
uses: github/codeql-action/init@v1
|
|
with:
|
|
languages: ${{ matrix.language }}
|
|
debug: true
|
|
- name: Autobuild
|
|
uses: github/codeql-action/autobuild@v1
|
|
- name: Perform CodeQL Analysis
|
|
uses: github/codeql-action/analyze@v1
|