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 2bffeb0 commit f625ecfCopy full SHA for f625ecf
.github/workflows/codeql-analysis.yml
@@ -13,18 +13,13 @@ jobs:
13
name: Analyze
14
runs-on: ubuntu-latest
15
16
+ permissions:
17
+ # required for all workflows
18
+ security-events: write
19
+
20
steps:
21
- name: Checkout repository
22
uses: actions/checkout@v2
- with:
- # We must fetch at least the immediate parents so that if this is
- # a pull request then we can checkout the head.
- fetch-depth: 2
23
-
24
- # If this run was triggered by a pull request event, then checkout
25
- # the head of the pull request instead of the merge commit.
26
- - run: git checkout HEAD^2
27
- if: ${{ github.event_name == 'pull_request' }}
28
29
# Initializes the CodeQL tools for scanning.
30
- name: Initialize CodeQL
0 commit comments