We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 879ff11 commit 1ad20e7Copy full SHA for 1ad20e7
.github/workflows/codeql-analysis.yml
@@ -43,7 +43,11 @@ jobs:
43
- name: Checkout repository
44
uses: actions/checkout@v4
45
with:
46
- ref: ${{ github.event.inputs.fastcdr-branch || github.ref || matrix.supported-branches }}
+ ref: ${{
47
+ github.event_name == 'workflow_dispatch' && github.event.inputs.fastcdr-branch ||
48
+ github.event_name == 'pull_request' && github.ref ||
49
+ github.event_name == 'schedule' && matrix.supported-branches
50
+ }}
51
52
# Initializes the CodeQL tools for scanning.
53
- name: Initialize CodeQL
0 commit comments