mirror of
https://github.com/jakejarvis/jarv.is.git
synced 2025-07-04 11:36:37 -04:00
Update codeql-analysis.yml
[skip ci]
This commit is contained in:
14
.github/workflows/codeql-analysis.yml
vendored
14
.github/workflows/codeql-analysis.yml
vendored
@ -1,20 +1,22 @@
|
||||
name: "Code scanning"
|
||||
# https://github.com/github/codeql-action/blob/master/README.md#usage
|
||||
|
||||
name: Code scanning
|
||||
|
||||
on:
|
||||
push:
|
||||
pull_request:
|
||||
schedule:
|
||||
- cron: '0 21 * * 0'
|
||||
- cron: '0 10 * * 3' # every Wednesday at 10 AM UTC == 6 AM EDT
|
||||
|
||||
jobs:
|
||||
CodeQL-Build:
|
||||
|
||||
strategy:
|
||||
fail-fast: false
|
||||
|
||||
# CodeQL runs on ubuntu-latest and windows-latest
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
# Allow skipping with [skip ci] (doesn't apply to PRs and crons)
|
||||
if: "github.event_name == 'push' && !contains(github.event.head_commit.message, '[skip ci]')"
|
||||
|
||||
steps:
|
||||
- name: Checkout repository
|
||||
uses: actions/checkout@v2
|
||||
@ -27,7 +29,7 @@ jobs:
|
||||
# the head of the pull request instead of the merge commit.
|
||||
- run: git checkout HEAD^2
|
||||
if: ${{ github.event_name == 'pull_request' }}
|
||||
|
||||
|
||||
# Initializes the CodeQL tools for scanning.
|
||||
- name: Initialize CodeQL
|
||||
uses: github/codeql-action/init@v1
|
||||
|
Reference in New Issue
Block a user