Mercurial > vim
comparison .github/workflows/codeql-analysis.yml @ 23221:4046b3d17d60 v8.2.2156
patch 8.2.2156: Github actions run on pusing a tag
Commit: https://github.com/vim/vim/commit/b5b77378bc35cb268c384e98c59f2bf8cb406270
Author: Bram Moolenaar <Bram@vim.org>
Date: Fri Dec 18 13:31:31 2020 +0100
patch 8.2.2156: Github actions run on pusing a tag
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)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Fri, 18 Dec 2020 13:45:04 +0100 |
parents | 7118d32f94a5 |
children | d4faa2c5211b |
comparison
equal
deleted
inserted
replaced
23220:69a1ebf37348 | 23221:4046b3d17d60 |
---|---|
29 # https://docs.github.com/en/github/finding-security-vulnerabilities-and-errors-in-your-code/configuring-code-scanning#overriding-automatic-language-detection | 29 # https://docs.github.com/en/github/finding-security-vulnerabilities-and-errors-in-your-code/configuring-code-scanning#overriding-automatic-language-detection |
30 | 30 |
31 steps: | 31 steps: |
32 - name: Checkout repository | 32 - name: Checkout repository |
33 uses: actions/checkout@v2 | 33 uses: actions/checkout@v2 |
34 with: | |
35 # We must fetch at least the immediate parents so that if this is | |
36 # a pull request then we can checkout the head. | |
37 fetch-depth: 2 | |
38 | 34 |
39 # Initializes the CodeQL tools for scanning. | 35 # Initializes the CodeQL tools for scanning. |
40 - name: Initialize CodeQL | 36 - name: Initialize CodeQL |
41 uses: github/codeql-action/init@v1 | 37 uses: github/codeql-action/init@v1 |
42 with: | 38 with: |