Skip to content

Commit

Permalink
fix: codeql.yaml cron error (#64)
Browse files Browse the repository at this point in the history
- fix: missing quote for cron configuration
- chore: comment out useless Autobuild step, remove extra comments
  • Loading branch information
dupuy authored Mar 3, 2024
1 parent 46086a7 commit ef5085b
Showing 1 changed file with 4 additions and 13 deletions.
17 changes: 4 additions & 13 deletions .github/workflows/codeql.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ on:
# The branches below must be a subset of the branches above
branches: ['main']
schedule:
- cron: 47 2 * * 1'
- cron: '47 2 * * 1'

# Declare default permissions as read only.
permissions:
Expand Down Expand Up @@ -52,18 +52,9 @@ jobs:

# 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
uses: github/codeql-action/autobuild@8a470fddafa5cbb6266ee11b37ef4d8aae19c571 # v3.24.6

# ℹ️ Command-line programs to run using the OS shell.
# 📚 See https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#jobsjob_idstepsrun

# If the Autobuild fails above, remove it and uncomment the following three lines.
# modify them (or add more) to build your code if your project, please refer to the EXAMPLE below for guidance.

# - run: |
# echo "Run, Build Application using script"
# ./location_of_script_within_repo/buildscript.sh
# [This is commented out since there are no compiled languages]
# - name: Autobuild
# uses: github/codeql-action/autobuild@v3

- name: 'Perform CodeQL analysis'
uses: github/codeql-action/analyze@8a470fddafa5cbb6266ee11b37ef4d8aae19c571 # v3.24.6
Expand Down

0 comments on commit ef5085b

Please sign in to comment.