To: vim_dev@googlegroups.com Subject: Patch 8.2.3891 Fcc: outbox From: Bram Moolenaar Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ------------ Patch 8.2.3891 Problem: Github CI: workflows may overlap. Solution: Cancel previous workflows when starting a new one. (Yegappan Lakshmanan, closes #9400) Files: .github/workflows/ci.yml, .github/workflows/codeql-analysis.yml *** ../vim-8.2.3890/.github/workflows/ci.yml 2021-12-15 21:29:16.127709915 +0000 --- .github/workflows/ci.yml 2021-12-25 11:16:53.405953754 +0000 *************** *** 5,10 **** --- 5,17 ---- branches: ['**'] pull_request: + # Cancels all previous workflow runs for pull requests that have not completed. + concurrency: + # The concurrency group contains the workflow name and the branch name for + # pull requests or the commit hash for any other events. + group: ${{ github.workflow }}-${{ github.event_name == 'pull_request' && github.head_ref || github.sha }} + cancel-in-progress: true + jobs: linux: runs-on: ubuntu-18.04 *** ../vim-8.2.3890/.github/workflows/codeql-analysis.yml 2020-12-18 12:31:28.340166522 +0000 --- .github/workflows/codeql-analysis.yml 2021-12-25 11:16:53.405953754 +0000 *************** *** 14,19 **** --- 14,26 ---- schedule: - cron: '0 18 * * 1' + # Cancels all previous workflow runs for pull requests that have not completed. + concurrency: + # The concurrency group contains the workflow name and the branch name for + # pull requests or the commit hash for any other events. + group: ${{ github.workflow }}-${{ github.event_name == 'pull_request' && github.head_ref || github.sha }} + cancel-in-progress: true + jobs: analyze: name: Analyze *************** *** 38,44 **** with: languages: ${{ matrix.language }} # If you wish to specify custom queries, you can do so here or in a config file. ! # By default, queries listed here will override any specified in a config file. # Prefix the list here with "+" to use these queries and those in the config file. # queries: ./path/to/local/query, your-org/your-repo/queries@main --- 45,51 ---- with: languages: ${{ matrix.language }} # If you wish to specify custom queries, you can do so here or in a config file. ! # By default, queries listed here will override any specified in a config file. # Prefix the list here with "+" to use these queries and those in the config file. # queries: ./path/to/local/query, your-org/your-repo/queries@main *** ../vim-8.2.3890/src/version.c 2021-12-24 21:36:08.432028939 +0000 --- src/version.c 2021-12-25 11:19:03.025637231 +0000 *************** *** 751,752 **** --- 751,754 ---- { /* Add new patch number below this line */ + /**/ + 3891, /**/ -- hundred-and-one symptoms of being an internet addict: 94. Now admit it... How many of you have made "modem noises" into the phone just to see if it was possible? :-) /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\ /// \\\ \\\ sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ /// \\\ help me help AIDS victims -- http://ICCF-Holland.org ///