FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

Update the CodeQL workflow to silence a warning (#15029) · digitarald/vscode-python@e20a371 · GitHub

Commit e20a371

Browse files
authored
Update the CodeQL workflow to silence a warning (microsoft#15029)
1 parent 2bb9d27 commit e20a371

1 file changed

Lines changed: 1 addition & 10 deletions

File tree

‎.github/workflows/codeql-analysis.yml‎

Lines changed: 1 addition & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -34,23 +34,14 @@ jobs:
3434
steps:
3535
- name: Checkout repository
3636
uses: actions/checkout@v2
37-
with:
38-
# We must fetch at least the immediate parents so that if this is
39-
# a pull request then we can checkout the head.
40-
fetch-depth: 2
41-
42-
# If this run was triggered by a pull request event, then checkout
43-
# the head of the pull request instead of the merge commit.
44-
- run: git checkout HEAD^2
45-
if: ${{ github.event_name == 'pull_request' }}
4637

4738
# Initializes the CodeQL tools for scanning.
4839
- name: Initialize CodeQL
4940
uses: github/codeql-action/init@v1
5041
with:
5142
languages: ${{ matrix.language }}
5243
# If you wish to specify custom queries, you can do so here or in a config file.
53-
# By default, queries listed here will override any specified in a config file.
44+
# By default, queries listed here will override any specified in a config file.
5445
# Prefix the list here with "+" to use these queries and those in the config file.
5546
# queries: ./path/to/local/query, your-org/your-repo/queries@main
5647

0 commit comments

Comments
 (0)

Back | FazBrowse Home | New Git URL