changeset 23219:7118d32f94a5 v8.2.2155

patch 8.2.2155: warning from Github actions for code analysis Commit: https://github.com/vim/vim/commit/18f69229c581a0f738145cdec70df66723a518fc Author: Bram Moolenaar <Bram@vim.org> Date: Fri Dec 18 13:15:20 2020 +0100 patch 8.2.2155: warning from Github actions for code analysis Problem: Warning from Github actions for code analysis. Solution: Remove the "git checkout HEAD^2" block.
author Bram Moolenaar <Bram@vim.org>
date Fri, 18 Dec 2020 13:30:04 +0100
parents 7e78c626ac4c
children 69a1ebf37348
files .github/workflows/codeql-analysis.yml src/version.c
diffstat 2 files changed, 2 insertions(+), 5 deletions(-) [+]
line wrap: on
line diff
--- a/.github/workflows/codeql-analysis.yml
+++ b/.github/workflows/codeql-analysis.yml
@@ -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
--- a/src/version.c
+++ b/src/version.c
@@ -751,6 +751,8 @@ static char *(features[]) =
 static int included_patches[] =
 {   /* Add new patch number below this line */
 /**/
+    2155,
+/**/
     2154,
 /**/
     2153,