Patch 8.2.2156
Problem:    Github actions run on pusing a tag.
Solution:   Don't run CI on tag push. Omit coveralls on pull-request.
            (Ozaki Kiichi, closes #7489)
Files:      .github/workflows/ci.yml, .github/workflows/codeql-analysis.yml


*** ../vim-8.2.2155/.github/workflows/ci.yml    2020-12-17 20:26:54.801869450 
+0100
--- .github/workflows/ci.yml    2020-12-18 13:29:50.684517132 +0100
***************
*** 1,6 ****
  name: GitHub CI
  
! on: [push, pull_request]
  
  jobs:
    linux:
--- 1,9 ----
  name: GitHub CI
  
! on:
!   push:
!     branches: ['**']
!   pull_request:
  
  jobs:
    linux:
***************
*** 197,203 ****
            do_test make ${SHADOWOPT} ${TEST}
  
        - name: Coveralls
!         if: matrix.coverage && success()
          env:
            COVERALLS_REPO_TOKEN: ${{ secrets.COVERALLS_REPO_TOKEN }}
            COVERALLS_PARALLEL: true
--- 200,206 ----
            do_test make ${SHADOWOPT} ${TEST}
  
        - name: Coveralls
!         if: matrix.coverage && success() && github.event_name != 
'pull_request'
          env:
            COVERALLS_REPO_TOKEN: ${{ secrets.COVERALLS_REPO_TOKEN }}
            COVERALLS_PARALLEL: true
***************
*** 210,217 ****
  
        - name: Codecov
          if: matrix.coverage && success()
!         run: |
!           cd "${SRCDIR}" && bash <(curl -s https://codecov.io/bash)
  
        - name: ASan logs
          if: contains(matrix.extra, 'asan') && !cancelled()
--- 213,223 ----
  
        - name: Codecov
          if: matrix.coverage && success()
!         uses: codecov/codecov-action@v1
!         with:
!           flags: ${{ matrix.features }}-${{ matrix.compiler }}-${{ 
matrix.extra }}
!           fail_ci_if_error: true
!           working-directory: ${{ env.SRCDIR }}
  
        - name: ASan logs
          if: contains(matrix.extra, 'asan') && !cancelled()
***************
*** 225,231 ****
      runs-on: ubuntu-latest
  
      needs: linux
!     if: always()
  
      steps:
        - name: Parallel finished
--- 231,237 ----
      runs-on: ubuntu-latest
  
      needs: linux
!     if: github.event_name != 'pull_request'
  
      steps:
        - name: Parallel finished
*** ../vim-8.2.2155/.github/workflows/codeql-analysis.yml       2020-12-18 
13:15:16.568424388 +0100
--- .github/workflows/codeql-analysis.yml       2020-12-18 13:30:42.144331277 
+0100
***************
*** 31,40 ****
      steps:
      - name: Checkout repository
        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
  
      # Initializes the CodeQL tools for scanning.
      - name: Initialize CodeQL
--- 31,36 ----
*** ../vim-8.2.2155/src/version.c       2020-12-18 13:15:16.568424388 +0100
--- src/version.c       2020-12-18 13:30:19.288413502 +0100
***************
*** 752,753 ****
--- 752,755 ----
  {   /* Add new patch number below this line */
+ /**/
+     2156,
  /**/

-- 
Any resemblance between the above views and those of my employer, my terminal,
or the view out my window are purely coincidental.  Any resemblance between
the above and my own views is non-deterministic.  The question of the
existence of views in the absence of anyone to hold them is left as an
exercise for the reader.  The question of the existence of the reader is left
as an exercise for the second god coefficient.  (A discussion of
non-orthogonal, non-integral polytheism is beyond the scope of this article.)
                                                (Ralph Jennings)

 /// Bram Moolenaar -- b...@moolenaar.net -- http://www.Moolenaar.net   \\\
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
\\\  an exciting new programming language -- http://www.Zimbu.org        ///
 \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///

-- 
-- 
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

--- 
You received this message because you are subscribed to the Google Groups 
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to vim_dev+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/vim_dev/202012181232.0BICW1kr1244386%40masaka.moolenaar.net.

Raspunde prin e-mail lui