Skip to content

Commit

Permalink
Update codeql.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
ikostan committed Nov 18, 2024
1 parent 470e962 commit d20b9a6
Showing 1 changed file with 10 additions and 5 deletions.
15 changes: 10 additions & 5 deletions .github/workflows/codeql.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
---
# For most projects, this workflow file will not need changing; you simply need
# to commit it to your repository.
#
Expand All @@ -11,24 +12,28 @@
#
name: "CodeQL Advanced"

on:
on: # yamllint disable-line rule:truthy
pull_request_target:
types:
- opened
- edited
- synchronize
- reopened
push:
branches: [ "master" ]

Check failure on line 23 in .github/workflows/codeql.yml

View workflow job for this annotation

GitHub Actions / YAML Lint / build (3.x)

23:16 [brackets] too many spaces inside brackets

Check failure on line 23 in .github/workflows/codeql.yml

View workflow job for this annotation

GitHub Actions / YAML Lint / build (3.x)

23:25 [brackets] too many spaces inside brackets
pull_request:
branches: [ "master" ]
schedule:
- cron: '28 1 * * 3'
workflow_call:


jobs:
analyze:
name: Analyze (${{ matrix.language }})
# Runner size impacts CodeQL analysis time. To learn more, please see:
# - https://gh.io/recommended-hardware-resources-for-running-codeql
# - https://gh.io/supported-runners-and-hardware-resources
# - https://gh.io/using-larger-runners (GitHub.com only)
# Consider using larger runners or machines with greater resources for possible analysis time improvements.
# Consider using larger runners or machines with greater resources
# for possible analysis time improvements.
runs-on: ${{ (matrix.language == 'swift' && 'macos-latest') || 'ubuntu-latest' }}

Check warning on line 37 in .github/workflows/codeql.yml

View workflow job for this annotation

GitHub Actions / YAML Lint / build (3.x)

37:81 [line-length] line too long (85 > 80 characters)
permissions:
# required for all workflows
Expand Down

0 comments on commit d20b9a6

Please sign in to comment.