Dundar Göc
fde169f328
ci: add reviewers based on label
2022-02-07 21:25:45 +01:00
James McCoy
707cc1a167
ci(commitlint): use lintcommit.lua from main repo
...
[skip ci]
2022-02-06 08:31:23 -05:00
zeertzjq
6eb8c0c0c8
ci: add intercept_tls_get_addr=0 to ASAN_OPTIONS
2022-01-27 23:16:33 +08:00
James McCoy
66076e5e1b
ci: create automated PRs as draft PRs
...
GH workflows aren't allowed to trigger other GH workflows. Since
commitlint is a required check now, we need something manual to happen
for it to run on vim-patch/api-doc PRs.
Creating these PRs as drafts and then marking them as "ready to review"
when we want to merge them will provide the manual trigger to run
commitlint.
[skip ci]
2022-01-17 13:36:01 -05:00
James McCoy
8f54b88a5e
Merge pull request #17122 from dundargoc/ci/remove-non-working-job
...
ci: remove non-working add-reviewer job
2022-01-17 13:11:46 -05:00
Dundar Göc
6c1d6f3dd6
ci: remove non-working add-reviewer job
2022-01-17 18:48:08 +01:00
James McCoy
69b2dd175c
ci(api-docs): avoid running ci for doc commits
2022-01-17 12:21:16 -05:00
James McCoy
d7e2229b41
ci(commitlint): use pull_request_target to avoid "skip ci"
2022-01-17 12:21:09 -05:00
James McCoy
5bd7ae5b0f
ci(release): enable gh's api debug logs when creating the release
...
This is intended to help track down why the release is sporadically left
in draft state, rather than being published.
[skip ci]
2022-01-12 07:13:25 -05:00
Dundar Göc
f29a4ec553
ci: add a continue-on-error to the add-reviewer jobs
...
This is to circumvent a limitation in GitHub Actions that requires
special organization access in order to add any reviewers.
2022-01-09 19:57:25 +01:00
Dundar Göc
fd71162428
ci: add reviewer based on label
...
Also remove CODEOWNERS since this is a superior solution.
2022-01-09 11:30:05 +01:00
James McCoy
2e5bafa04c
Merge pull request #17000 from dundargoc/ci/use-continue-on-error
...
ci: use continue-on-error instead of "|| true"
2022-01-08 16:10:47 -05:00
Dundar Göc
559aa4179c
ci: use continue-on-error instead of "|| true"
...
The intention is clearer and doesn't rely on shell-isms.
2022-01-08 15:31:14 +01:00
Dundar Göc
c2b9dea4ba
ci: set CLANG_SANITIZER variable to TSAN when running the tsan job
2022-01-07 20:20:02 +01:00
Dundar Göc
df06c36932
ci: run type-scope job after the triage job
...
This should prevent the scenario of one job accidentally removing a
relevant label from the other.
2022-01-07 13:32:14 +01:00
Michael Lingelbach
ef214e9753
chore: remove lspconfig checkhealth from issue template ( #16948 )
2022-01-05 12:13:16 -08:00
dundargoc
0b0c4f7dfa
chore: fix typos ( #16816 )
...
Co-authored-by: Sean Dewar <seandewar@users.noreply.github.com>
Co-authored-by: Gregory Anders <greg@gpanders.com>
Co-authored-by: Sebastian Volland <seb@baunz.net>
Co-authored-by: Lewis Russell <lewis6991@gmail.com>
Co-authored-by: zeertzjq <zeertzjq@outlook.com>
2022-01-04 11:07:40 -07:00
Dundar Göc
ec615abd1f
ci: install flake8 with apt instead of pip
2022-01-03 21:54:23 +01:00
Dundar Göc
b402cd3315
ci: add jamessan as codeowner for ci related files
...
[skip ci]
2022-01-03 20:27:31 +01:00
Dundar Göc
e71fbf2eb0
ci: remove unnecessary before_install script
2022-01-02 23:46:46 +01:00
James McCoy
b0993bdc45
Merge pull request #16853 from jamessan/clint-master-only
...
ci: run lint only on master branch
2022-01-02 14:07:01 -05:00
James McCoy
e5f7b61136
Merge pull request #16840 from zeertzjq/ci-clang-13
...
ci: bump clang version to 13 in asan and tsan
2022-01-01 11:43:38 -05:00
zeertzjq
6a932f68e6
ci: bump clang version to 13 in asan and tsan
2022-01-01 06:24:48 +08:00
James McCoy
35034da779
ci: run lint only on master branch
...
The list of known lint issues is only updated for the master branch, so
other branches report lots of false positive issues.
2021-12-31 12:09:23 -05:00
Dundar Göc
2a12e8ddfd
ci: remove outdated brew workaround that isn't needed anymore
2021-12-31 13:09:01 +01:00
James McCoy
094c3f2b54
ci: cancel in-progress CI if a PR is updated
...
[skip ci]
2021-12-25 11:11:54 -05:00
Dundar Göc
89a844a9c7
ci: remove unused "squash typo" workflow
2021-12-20 23:47:04 +01:00
James McCoy
238da85126
Merge pull request #16524 from dundargoc/ci/optimize-brew
...
ci: remove "brew upgrade" from macos jobs
2021-12-09 21:15:07 -05:00
dundargoc
5b117bbc75
ci: install doxygen with conda instead of apt ( #16517 )
...
This provides a newer version of Doxygen (1.9.0 or later)
that fixes a bug in the documentation generator.
Closes #16498
2021-12-08 09:28:25 -07:00
Dundar Göc
c5af86b9b9
ci: remove "brew upgrade" from macos jobs
...
Packages are automatically upgraded on install. This will avoid
upgrading unrelated packages, cutting the macos job time to about a
half.
2021-12-04 23:44:52 +01:00
Dundar Göc
8cd1fa8945
ci: use tag v2 when using checkout action
...
Using v2 automatically fetches the latest minor patch for v2, meaning
free bug fixes without needing to manually update the tag version.
2021-12-04 13:24:46 +01:00
James McCoy
50c8cc3020
fix(ci/backport): check for event_name == "pull_request_target"
...
[skip ci]
2021-11-30 22:20:32 -05:00
James McCoy
7bd6f12b3e
ci!: remove win32 builds/releases
2021-11-14 08:51:39 -05:00
Christian Clason
2ef9d2a663
chore: disable creating a blank issue
2021-11-11 19:41:37 +01:00
James McCoy
14716e4619
ci(release): delete nightly/stable tag so release recreates it
...
Even though the releaes itself gets deleted, if the tag is not, then
creating a new release just re-uses the same tag, even though we're
using “--target <sha>”.
[skip ci]
2021-11-02 07:34:55 -04:00
James McCoy
ea2ce90cc6
ci: limit CI checks to the main dev branches
...
Now that we have various GH actions creating branches in the main repo,
using the generic '**' pattern for the CI workflow is just wasting CI
time and leading to more queued jobs.
[skip ci]
2021-10-31 20:05:52 -04:00
James McCoy
a1eea968a5
ci(backport): trigger on comments too, so "/backport" works
...
[skip ci]
2021-10-30 16:50:13 -04:00
James McCoy
9f5e736e5d
ci(backport): bump version to v0.0.7
...
[skip ci]
2021-10-30 16:33:20 -04:00
James McCoy
0c1b80efec
ci(backport): add write permissions for contents/pull_requests
...
The workflow needs to create commits and PRs.
[skip ci]
2021-10-30 16:29:02 -04:00
James McCoy
c819ce1fd4
ci(release): do not fail if stable/nightly release doesn't exist
...
[skip ci]
2021-10-30 14:02:04 -04:00
James McCoy
eede587b06
ci(release): re-publish "stable" release for versioned releases
...
[skip ci]
2021-10-30 14:02:04 -04:00
James McCoy
0ce800753e
ci(release): use gh cli instead of 3rd-party actions
...
Closes #15709
[skip ci]
2021-10-30 14:01:47 -04:00
Dundar Göc
a91a5c1880
ci: run functionaltest-lua on drafts as well
2021-10-28 10:55:26 +02:00
Michael Lingelbach
6cc456deeb
feat(ci): add backport PR action ( #14766 )
...
Trigger the backport action upon merge by marking a PR with the label `backport <branchname>` or after merge by applying the label and writing a comment containing `/backport`.
2021-10-26 08:45:15 -07:00
Jakub Łuczyński
035d82e0d3
build: update cmake min version to 3.10 #16065
...
* build(cmake): update cmake min version to 3.10
* ci: test cmake minimum required version
* build(cmake): remove some legacy includes
* Since version 3.5 cmake_parse_arguments is implemented natively.
2021-10-19 19:19:33 -07:00
Dundar Göc
9039aa24b6
ci(commitlint): use action to checkout to pr branch directly
2021-10-19 09:58:30 +02:00
Rob Cowsill
4c4a41c70c
ci(labeler): Remove checkout steps
...
Sets GH_REPO and passes PR number to `gh`, making checkout unnecessary
2021-10-15 15:08:12 +01:00
Dundar Göc
348787a1b7
ci: make labeler also work for breaking changes
...
This means that
"refactor!: description"
and
"refactor(scope)!: description"
will add the "refactor" label.
2021-10-13 19:55:10 +02:00
dundargoc
f620008e59
ci: disable commit-lint on draft PRs #15958
2021-10-08 17:08:47 -07:00
Christian Clason
3b531d50a8
docs(contrib): recommend nvim --clean
#15917
2021-10-05 08:01:09 -07:00
dundargoc
7152353ade
ci: add type and scope from PR title as labels #15850
...
This only works if the label exists in the first place of course.
2021-09-30 08:08:36 -07:00
dundargoc
3246bf5f4e
ci(lintcommit.lua): replace third-party commitlint #15747
2021-09-26 12:13:59 -07:00
James McCoy
64a5eddc89
ci: use runner, instead of os, for job name and cache key
2021-09-24 09:01:50 -04:00
James McCoy
e0cf32c6de
ci: add macOS 11 build
2021-09-24 09:01:30 -04:00
Justin M. Keyes
77399184d7
ci(labeler): diagnostic
2021-09-18 13:29:56 -07:00
Justin M. Keyes
4b3ffde208
docs: issue templates
2021-08-22 17:37:08 -07:00
Justin M. Keyes
fb5db6c7cf
docs: issue templates
2021-08-22 16:56:41 -07:00
James McCoy
c6ef95606f
fix(ci): re-run GHA for ready_for_review events ( #15377 )
...
By default, the pull_request target only runs for the "opened",
"synchronize", and "reopened" events.
Since we've disabled GHA CI for "draft" PRs, the "ready_for_review"
event also needs to be included so CI is automatically run when leaving
draft status.
2021-08-15 15:27:50 +02:00
James McCoy
084b28bec8
Merge pull request #15367 from jamessan/release-fixes
...
Clean up release handling
2021-08-14 21:22:13 -04:00
James McCoy
6f965f41df
build: use RelWithDebInfo build for nightlies, Release for releases
...
Unlike Release build type, RelWithDebInfo does not disable asserts.
This helps get better debug info from people brave enough to use the
nightly builds, but shouldn't be used for official releases.
[skip ci]
2021-08-13 23:32:15 -04:00
dundargoc
ce172d8d4a
ci: fix typo squasher by changing trigger to "pull_request_target" ( #15357 )
...
The "pull_request" trigger only enables read-access for forks,
"pull_request_target" is required if a fork is to be a trigger. Also
changed the python script to reflect this change.
2021-08-13 15:18:15 +02:00
Dundar Göc
20c1e5757d
chore: link to Discourse when choosing issue template for user questions
2021-08-13 10:34:20 +02:00
Dundar Göc
f43a8f0eda
ci: make all questions mandatory in bug template
2021-08-10 12:18:55 +02:00
dundargoc
7dbbd5d8b1
ci: create GitHub Action that squashes all typo PRs into a single PR ( #15041 )
...
The action adds all pull-request authors (and Marvim) as a co-author to the
newly created PR and also links to the closed PRs.
2021-08-09 15:21:50 +02:00
dundargoc
a2909aa35f
ci(labeler): apply label tests if only files under test have changed ( #15305 )
2021-08-08 11:03:55 +02:00
Christian Clason
35041432bf
ci(forms): fix "vim" description in bug template
...
Make clear that the version should be specified in any case, including patch level
2021-08-07 18:14:03 +02:00
dundargoc
a1cc146405
ci(labeler): apply documentation label only for changes exclusively in runtime/doc/* ( #15298 )
2021-08-07 10:36:15 +02:00
dundargoc
f22326ef09
ci(labeler): add "tests" and "ci" labels to the labeler action ( #15287 )
...
Also added "CONTRIBUTING.md" file under the "documentation" label since
it gets changed fairly often.
2021-08-06 13:15:29 +02:00
dundargoc
22072b11e8
ci(labeler): fix syntax so changes under src/nvim/lua are registered ( #15285 )
...
The labeler action requires a glob (*) to denote files under a
directory.
2021-08-06 12:16:24 +02:00
dundargoc
3f9a838454
ci: disable false "footer-leading-blank" warning from commitlint ( #15238 )
2021-08-02 11:22:43 +02:00
Matthieu Coudron
535c762ff7
Merge pull request #15129 from dundargoc/action/commitlint
...
ci: add commit linter to GitHub Actions.
2021-08-02 00:08:31 +02:00
Dundar Göc
5f3f4263b4
ci: add commit linter to GitHub Actions
2021-08-01 12:45:17 +02:00
Christian Clason
143a920de9
chore: fix lsp bug issue template
...
correct description for expected behavior
2021-07-29 16:35:02 +02:00
Christian Clason
1d3aaae15c
chore: fix bug issue template form
...
description for "expected behavior" was wrongly attached to "actual behavior"
2021-07-29 16:17:58 +02:00
Christian Clason
ac5139eae4
ci(labeler): adapt to new label names
2021-07-28 17:29:27 +02:00
dundargoc
6c08af083d
ci: label PRs only the first time they're opened ( #15209 )
...
instead of on every change -- including removing erroneous labels
2021-07-28 11:30:08 +02:00
Christian Clason
701c21480e
ci(labeler): update label format
2021-07-28 10:10:45 +02:00
Christian Clason
1637622db9
chore: remove checkbox from issue template
...
Checkboxes trigger "task lists", which add noise.
2021-07-26 17:31:27 +02:00
dundargoc
bebca7bbeb
chore: update LSP bug report with Github issue forms ( #15159 )
2021-07-25 16:07:20 +02:00
dundargoc
1aef6297b3
chore: update feature request template by using Github issue forms. ( #15158 )
2021-07-25 16:06:19 +02:00
dundargoc
e5f3abfd17
chore: update bug report template by using Github's new issue forms ( #15152 )
2021-07-25 16:05:11 +02:00
Björn Linse
13db912e51
fix(ci): lower timeout to 45 minutes (from default 360 mins)
2021-07-24 10:23:15 +02:00
Christian Clason
6f48c018b5
Revert "fix(ci): remove mongodb from brew to avoid brew upgrade error ( #15115 )" ( #15141 )
...
This reverts commit 5377b2b00a
.
(Fix no longer needed.)
2021-07-20 23:30:32 +02:00
Oliver Marriott
5377b2b00a
fix(ci): remove mongodb from brew to avoid brew upgrade error ( #15115 )
...
macOS CI was failing because:
- brew upgrade fails because,
- mongodb-community cant upgrade because,
- some symlinks are owned by ... mongodb-community...
We don't use mogodb, so we can just remove it wholesale.
2021-07-17 16:59:39 +02:00
Oliver Marriott
d1c906a7c6
feat(ci): Add sha256 checksums to release notes
2021-07-02 05:06:21 +10:00
James McCoy
2fc9e9effa
ci(gha): Add functionaltest-lua checker
2021-06-29 21:46:46 -04:00
Christian Clason
f969b4bfb1
fix(ci): change autolabel to "treesitter"
...
Open issues and PRs are almost all labeled `treesitter` instead of `tree-sitter`; this change improves consistency.
2021-06-29 18:54:27 +02:00
glacambre
04ad196b4e
ci: upgrade to gcc-11 on ubuntu-18.04
...
In https://github.com/neovim/neovim/issues/14150 , investigations showed
that using an older gcc to build the appimage could result in severe
perf issues. This is because older gcc versions happily replace calls to
libc functions with their own, which happen to be less optimized than
their libc counterparts.
We fix this problem by upgrading to gcc-11 on ubuntu-18.04.
2021-06-16 17:54:14 +02:00
Thomas Vigouroux
7b0836ed01
ci: correctly label dependencies PRs
...
Configures the labeler to handle PRs related to third-party.
2021-06-11 16:17:41 +02:00
James McCoy
04985f69eb
fix(ci): Remove gcc@8/gcc@9 homebrew workaround
2021-06-04 11:21:45 -04:00
James McCoy
efef508ec6
ci(gha): New workflow to regen API docs on pushes to release branches
...
Upon pushing updates to files which may contain API documentation, the
workflow will regenerate the docs and, if there are relevant changes,
create a PR targeting the source branch.
[skip ci]
2021-05-31 22:52:44 -04:00
Matthieu Coudron
c40de6e5f5
feat(ci): autolabel pull requests ( #14574 )
...
autolabel pull requests depending on which files are modified
2021-05-18 09:37:18 +02:00
James McCoy
7ae1417ad5
ci(coverity): Fix typo in tar command
...
[skip ci]
2021-05-05 12:54:47 -04:00
James McCoy
554468cc03
Merge pull request #14493 from jamessan/ci-updates
2021-05-05 11:48:08 -04:00
James McCoy
3bebe60121
ci(gha): Run ci workflow for PRs into release branches
2021-05-05 09:21:12 -04:00
James McCoy
26f5b979ec
ci(gha): Add weekly Coverity scans
...
[skip ci]
2021-05-05 08:54:03 -04:00
James McCoy
0ee52fba31
ci(gha/ci): Use clang-12 for TSAN
2021-05-02 22:24:28 -04:00
James McCoy
14c692bc82
ci(gha/release): Bump to ubuntu-18.04
...
Per https://wiki.ubuntu.com/Releases , 16.04 is no longer under standard
support. Switch to the next LTS, 18.04, for the next couple years.
2021-05-02 16:27:37 -04:00
Marco Hinz
04a33c1d9a
template: make sure people read :h vim-differences
2021-05-02 13:52:01 +02:00
James McCoy
0ab1f9ff3f
ci(gha/vim-patches): Create PR against branch running the workflow
...
Avoids hard-coding branch names.
[skip ci]
2021-04-26 23:45:40 -04:00