Skip to content

Commit

Permalink
address comments
Browse files Browse the repository at this point in the history
  • Loading branch information
stan-dot committed Dec 11, 2024
1 parent cfe48a3 commit 1257827
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 30 deletions.
21 changes: 13 additions & 8 deletions .github/workflows/codeql.yaml → .github/workflows/_codeql.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,17 @@
name: "CodeQL"

on:
push:
branches: ["main"]
pull_request:
branches: ["main"]
schedule:
- cron: "23 10 * * 2"
workflow_call:
inputs:
codeql:
description: "Specify the trigger type"
required: true
type: string
default: "push"
secrets:
codeql_token:
description: "Token for CodeQL"
required: true

jobs:
analyze:
Expand All @@ -27,8 +32,8 @@ jobs:
# - 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.
runs-on: ${{ (matrix.language == 'swift' && 'macos-latest') || 'ubuntu-latest' }}
timeout-minutes: ${{ (matrix.language == 'swift' && 120) || 360 }}
runs-on: "ubuntu-latest"
timeout-minutes: 120
permissions:
# required for all workflows
security-events: write
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/periodic.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,3 +11,7 @@ jobs:
uses: ./.github/workflows/_tox.yml
with:
tox: docs build -- -b linkcheck
codeql:
uses: ./.github/workflows/_codeql.yml
with:
codeql: "Check codeql setup"
22 changes: 0 additions & 22 deletions .github/workflows/sonarcloud.yaml

This file was deleted.

0 comments on commit 1257827

Please sign in to comment.