-
Ensure you have completed the 05 Codeql Advanced Setup demo.
-
In your new repo, click the top tab
Actions
, then side tabCodeQL Advanced
. -
Click the
codeql.yml
file link under the title "CodeQL Advanced". This will take you directly to the YML file so it can be edited in the browser. -
At the top of the source code, click the pencil icon in the right-side toolbar to edit the file.
-
Update the
on
section to look like this:on: push: branches: [ "main" ] pull_request: branches: [ "main" ] schedule: - cron: '38 21 * * 2' workflow_dispatch:
-
Commit the changes using the same method as the 05 Codeql Advanced Setup demo.
-
The workflow will run automatically. Let it complete, then we will manually trigger the workflow.
-
Click the
Actions
tab, then click theCodeQL Advanced
workflow. -
There will be a
Run workflow
button in the upper-right corner above the workflow history. Click it. -
Select the branch to run the workflow on, then click the
Run workflow
button. -
Review the results as normal.