diff options
| author | dundargoc <gocdundar@gmail.com> | 2024-07-17 15:54:09 +0200 |
|---|---|---|
| committer | dundargoc <33953936+dundargoc@users.noreply.github.com> | 2024-07-17 16:40:59 +0200 |
| commit | 0500804df52c64bd250a75ed94f4c414a85ca52b (patch) | |
| tree | 4a3a81f2da9ccbe6aab0acb6997ce6070661c36d /.github/workflows/lintcommit.yml | |
| parent | bc2bd25f8e7123c335806832f29903f0e18d6914 (diff) | |
| download | rneovim-0500804df52c64bd250a75ed94f4c414a85ca52b.tar.gz rneovim-0500804df52c64bd250a75ed94f4c414a85ca52b.tar.bz2 rneovim-0500804df52c64bd250a75ed94f4c414a85ca52b.zip | |
ci: skip lintcommit workflow on release branches
Since lintcommit is a required check, it will always need to be run.
However, the lintcommit script is not designed to work on PRs that
doesn't target master branch (and it's not clear whether it's even
desirable).
To circumvent this we create a "dummy" lintcommit check that is run on
release branches that always passes, thus fulfilling the condition of
the required check.
Diffstat (limited to '.github/workflows/lintcommit.yml')
| -rw-r--r-- | .github/workflows/lintcommit.yml | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/.github/workflows/lintcommit.yml b/.github/workflows/lintcommit.yml index aa56de6d6a..49dc7f3e66 100644 --- a/.github/workflows/lintcommit.yml +++ b/.github/workflows/lintcommit.yml @@ -1,10 +1,9 @@ -name: "lintcommit" +name: lintcommit on: pull_request: types: [opened, synchronize, reopened, ready_for_review] branches: - 'master' - - 'release-[0-9]+.[0-9]+' jobs: lint-commits: runs-on: ubuntu-latest |