]> granicus.if.org Git - vim/commitdiff
patch 8.2.2155: warning from Github actions for code analysis v8.2.2155
authorBram Moolenaar <Bram@vim.org>
Fri, 18 Dec 2020 12:15:20 +0000 (13:15 +0100)
committerBram Moolenaar <Bram@vim.org>
Fri, 18 Dec 2020 12:15:20 +0000 (13:15 +0100)
Problem:    Warning from Github actions for code analysis.
Solution:   Remove the "git checkout HEAD^2" block.

.github/workflows/codeql-analysis.yml
src/version.c

index e9208902150f9d9dee0a0563044c59b0db15fead..647c799d67a11f4bfef4456d87a42badc03494c9 100644 (file)
@@ -36,11 +36,6 @@ jobs:
         # a pull request then we can checkout the head.
         fetch-depth: 2
 
-    # If this run was triggered by a pull request event, then checkout
-    # the head of the pull request instead of the merge commit.
-    - run: git checkout HEAD^2
-      if: ${{ github.event_name == 'pull_request' }}
-
     # Initializes the CodeQL tools for scanning.
     - name: Initialize CodeQL
       uses: github/codeql-action/init@v1
index bd2fd5d989789f1c647dd53c9e01dea6713d90c9..7a76d06f0cd59a038684d32417e68f79c4e70c56 100644 (file)
@@ -750,6 +750,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    2155,
 /**/
     2154,
 /**/