Skip to content

Commit

Permalink
Refs #21286: Apply Edu' suggestions
Browse files Browse the repository at this point in the history
Signed-off-by: JesusPoderoso <jesuspoderoso@eprosima.com>
  • Loading branch information
JesusPoderoso committed Jul 21, 2024
1 parent f140683 commit 879ff11
Showing 1 changed file with 13 additions and 6 deletions.
19 changes: 13 additions & 6 deletions .github/workflows/codeql-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,13 +12,17 @@
name: "CodeQL"

on:
push:
branches:
- 2.2.x
workflow_dispatch:
inputs:
fastcdr-branch:
description: 'Branch or tag of Fast CDR repository'
required: true
type: string
schedule:
- cron: '0 1 * * *'
pull_request:
# The branches below must be a subset of the branches above
branches:
- 2.2.x
types:
- review_requested

jobs:
analyze:
Expand All @@ -30,13 +34,16 @@ jobs:
matrix:
os: [windows-2019, ubuntu-22.04, macos-13, ]
language: [ 'cpp' ]
supported-branches: [master, 2.2.x, 1.1.x, 1.0.x]
# CodeQL supports [ 'cpp', 'csharp', 'go', 'java', 'javascript', 'python' ]
# Learn more:
# https://docs.github.com/en/free-pro-team@latest/github/finding-security-vulnerabilities-and-errors-in-your-code/configuring-code-scanning#changing-the-languages-that-are-analyzed

steps:
- name: Checkout repository
uses: actions/checkout@v4
with:
ref: ${{ github.event.inputs.fastcdr-branch || github.ref || matrix.supported-branches }}

# Initializes the CodeQL tools for scanning.
- name: Initialize CodeQL
Expand Down

0 comments on commit 879ff11

Please sign in to comment.