Skip to content

Commit

Permalink
Add comments to codeql-analysis.yml
Browse files Browse the repository at this point in the history
Add comments for cron and make it run on Sunday mornings.
  • Loading branch information
fxamacker authored Sep 26, 2024
1 parent 28ecbc4 commit 1af2a8c
Showing 1 changed file with 11 additions and 3 deletions.
14 changes: 11 additions & 3 deletions .github/workflows/codeql-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,18 @@ permissions: {}

on:
push:
branches: [ master ]
branches: [ main, master ]
pull_request:
# The branches below must be a subset of the branches above
branches: [ master ]
branches: [ main, master ]
schedule:
- cron: '30 5 * * 4'
- cron: '30 14 * * 0'
# | | | | |
# | | | | day of the week (0–6 with 0=Sunday)
# | | | month (1–12)
# | | day of month (1–31)
# | hour (0–23 in UTC)
# minute (0–59)

concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.run_id }}
Expand Down Expand Up @@ -40,6 +46,8 @@ jobs:
with:
languages: ${{ matrix.language }}

# Don't need setup-go because default version of Go is updated regularly in ubuntu-latest.

# Autobuild attempts to build any compiled languages (C/C++, C#, or Java).
# If this step fails, then you should remove it and run the build manually (see below)
- name: Autobuild
Expand Down

0 comments on commit 1af2a8c

Please sign in to comment.