Skip to content

Commit

Permalink
Refs #21286: Add check to use different sources
Browse files Browse the repository at this point in the history
signed-off-by: JesusPoderoso <[email protected]>
  • Loading branch information
JesusPoderoso committed Jul 22, 2024
1 parent 879ff11 commit c3d5996
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/workflows/codeql-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,11 @@ jobs:
- name: Checkout repository
uses: actions/checkout@v4
with:
ref: ${{ github.event.inputs.fastcdr-branch || github.ref || matrix.supported-branches }}
ref: ${{
github.event_name == 'workflow_dispatch' && github.event.inputs.fastcdr-branch ||
github.event_name == 'schedule' && matrix.supported-branches ||
github.ref
}}

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

0 comments on commit c3d5996

Please sign in to comment.