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.
2 parents 634041d + 121ffbb commit a666a69Copy full SHA for a666a69
1 file changed
.github/workflows/codeql-analysis.yml
@@ -2,7 +2,13 @@ name: "Code scanning - action"
2
3
on:
4
push:
5
+ branches:
6
+ - main
7
+ - 'rc/*'
8
pull_request:
9
10
11
12
schedule:
13
- cron: '0 9 * * 1'
14
@@ -14,16 +20,7 @@ jobs:
20
steps:
15
21
- name: Checkout repository
16
22
uses: actions/checkout@v2
17
- with:
18
- # We must fetch at least the immediate parents so that if this is
19
- # a pull request then we can checkout the head.
- fetch-depth: 2
-
- # If this run was triggered by a pull request event, then checkout
23
- # the head of the pull request instead of the merge commit.
24
- - run: git checkout HEAD^2
25
- if: ${{ github.event_name == 'pull_request' }}
26
+
27
# Initializes the CodeQL tools for scanning.
28
- name: Initialize CodeQL
29
uses: github/codeql-action/init@v1
0 commit comments