Matt Sturgeon
702008d2b3
ci/backport: specify workflows permission
...
Needed to create branches that modify workflow files.
2026-07-01 15:26:03 +00:00
Matt Sturgeon
be307b6b8f
ci/pr-merged: explicitly checkout base_ref
...
This _should_ be the default, but actions/checkout is still complaining
about checking out untrusted PR code.
Technically, this workflow only runs on `merged` PRs, so the PR code _is_
trusted anyway. But currently there's no need to use the PR's code.
2026-07-01 13:42:15 +00:00
Matt Sturgeon
266d5c31d5
ci/backport: explicitly define persist-credentials
...
This is the default, but it's best practice to state it explicitly to
avoid security footguns.
2026-07-01 13:42:15 +00:00
Matt Sturgeon
aeb34e84f6
ci/backport: update for checkout v7
...
We need to specify allow-unsafe-pr-checkout now, to be explicit about
checking out PR code on a privileged workflow.
2026-07-01 13:42:15 +00:00
dependabot[bot] and Gaétan Lepage
dbf9550dba
ci: bump actions/checkout from 6 to 7
...
Bumps [actions/checkout](https://github.com/actions/checkout ) from 6 to 7.
- [Release notes](https://github.com/actions/checkout/releases )
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md )
- [Commits](https://github.com/actions/checkout/compare/v6...v7 )
---
updated-dependencies:
- dependency-name: actions/checkout
dependency-version: '7'
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
2026-06-23 22:48:10 +00:00
Matt Sturgeon and Gaétan Lepage
643284206b
ci/website: simplify docs build
...
- Drop branch-specific composite action, target branches via flakeref
- Avoid flake-compat, using `nix build --impure` and `getEnv`
2026-06-07 21:55:05 +00:00
Matt Sturgeon and Gaétan Lepage
a1ef7c93db
ci/website: use pre-installed yq
2026-06-07 21:55:05 +00:00
dependabot[bot] and Matt Sturgeon
201960ae64
ci: bump actions/upload-pages-artifact in /.github/actions/build-docs
...
Bumps [actions/upload-pages-artifact](https://github.com/actions/upload-pages-artifact ) from 3 to 5.
- [Release notes](https://github.com/actions/upload-pages-artifact/releases )
- [Commits](https://github.com/actions/upload-pages-artifact/compare/v3...v5 )
---
updated-dependencies:
- dependency-name: actions/upload-pages-artifact
dependency-version: '5'
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
2026-06-07 13:53:04 +00:00
Matt Sturgeon and Gaétan Lepage
4b98b6ae9c
ci: run dependabot on GitHub Actions
...
Dependabot can find GHA workflows and actions in standard locations:
- /.github/workflows/*
- /action.yml
But non-standard locations like `.github/actions/**` must be specified
explicitly.
2026-06-07 13:30:13 +00:00
Matt Sturgeon
bbadbd7319
github/workflows/lint: run on Merge Queue
2026-05-29 18:34:38 +00:00
Matt Sturgeon
e2caf02e8f
github/workflows/lint: run on all PRs
...
Avoid edge-cases where ignored files can indirectly break formatting.
Some of these exclusions are also outdated, as for example spellcheck
applies to markdown files.
Running this CI unconditionally also allows us to specify it as a
"required status check".
2026-05-29 16:28:41 +00:00
dependabot[bot] and Gaétan Lepage
2e60ad952a
ci: bump actions/download-artifact from 7 to 8
...
Bumps [actions/download-artifact](https://github.com/actions/download-artifact ) from 7 to 8.
- [Release notes](https://github.com/actions/download-artifact/releases )
- [Commits](https://github.com/actions/download-artifact/compare/v7...v8 )
---
updated-dependencies:
- dependency-name: actions/download-artifact
dependency-version: '8'
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
2026-05-18 08:25:48 +00:00
b95b90f8c9
ci: add nix and lix parse checks
...
Co-authored-by: Wolfgang Walther <walther@technowledgy.de >
Co-authored-by: piegames <git@piegames.de >
2026-04-22 01:19:39 +00:00
dependabot[bot] and Matt Sturgeon
0a12693297
ci: bump actions/upload-pages-artifact from 4 to 5
...
Bumps [actions/upload-pages-artifact](https://github.com/actions/upload-pages-artifact ) from 4 to 5.
- [Release notes](https://github.com/actions/upload-pages-artifact/releases )
- [Commits](https://github.com/actions/upload-pages-artifact/compare/v4...v5 )
---
updated-dependencies:
- dependency-name: actions/upload-pages-artifact
dependency-version: '5'
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
2026-04-14 00:53:45 +00:00
dependabot[bot] and Austin Horstman
f6636ce710
ci: bump actions/deploy-pages from 4 to 5
...
Bumps [actions/deploy-pages](https://github.com/actions/deploy-pages ) from 4 to 5.
- [Release notes](https://github.com/actions/deploy-pages/releases )
- [Commits](https://github.com/actions/deploy-pages/compare/v4...v5 )
---
updated-dependencies:
- dependency-name: actions/deploy-pages
dependency-version: '5'
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
2026-04-09 19:47:26 +00:00
dependabot[bot] and Austin Horstman
1b5fbbd810
ci: bump actions/checkout from 5 to 6
...
Bumps [actions/checkout](https://github.com/actions/checkout ) from 5 to 6.
- [Release notes](https://github.com/actions/checkout/releases )
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md )
- [Commits](https://github.com/actions/checkout/compare/v5...v6 )
---
updated-dependencies:
- dependency-name: actions/checkout
dependency-version: '6'
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
2026-04-09 19:46:53 +00:00
dependabot[bot] and Austin Horstman
54a6065299
ci: bump actions/create-github-app-token from 2 to 3
...
Bumps [actions/create-github-app-token](https://github.com/actions/create-github-app-token ) from 2 to 3.
- [Release notes](https://github.com/actions/create-github-app-token/releases )
- [Commits](https://github.com/actions/create-github-app-token/compare/v2...v3 )
---
updated-dependencies:
- dependency-name: actions/create-github-app-token
dependency-version: '3'
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
2026-04-09 19:46:07 +00:00
dependabot[bot] and Gaétan Lepage
28c58bf023
ci: bump cachix/cachix-action from 16 to 17
...
Bumps [cachix/cachix-action](https://github.com/cachix/cachix-action ) from 16 to 17.
- [Release notes](https://github.com/cachix/cachix-action/releases )
- [Commits](https://github.com/cachix/cachix-action/compare/v16...v17 )
---
updated-dependencies:
- dependency-name: cachix/cachix-action
dependency-version: '17'
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
2026-03-23 23:47:20 +00:00
dependabot[bot] and Gaétan Lepage
bdc41e4133
ci: bump actions/download-artifact from 6 to 7
...
Bumps [actions/download-artifact](https://github.com/actions/download-artifact ) from 6 to 7.
- [Release notes](https://github.com/actions/download-artifact/releases )
- [Commits](https://github.com/actions/download-artifact/compare/v6...v7 )
---
updated-dependencies:
- dependency-name: actions/download-artifact
dependency-version: '7'
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
2025-12-15 23:28:09 +00:00
dependabot[bot] and Gaétan Lepage
009a661a34
ci: bump korthout/backport-action from 3 to 4
...
Bumps [korthout/backport-action](https://github.com/korthout/backport-action ) from 3 to 4.
- [Release notes](https://github.com/korthout/backport-action/releases )
- [Commits](https://github.com/korthout/backport-action/compare/v3...v4 )
---
updated-dependencies:
- dependency-name: korthout/backport-action
dependency-version: '4'
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
2025-12-15 23:24:35 +00:00
NAHO and Matt Sturgeon
d73eb6f142
ci: enable stricter Bash error checking
...
Co-authored-by: Matt Sturgeon <matt@sturgeon.me.uk >
2025-11-20 23:22:53 +00:00
dependabot[bot] and Gaétan Lepage
ef19b0e94f
ci: bump actions/download-artifact from 5 to 6
...
Bumps [actions/download-artifact](https://github.com/actions/download-artifact ) from 5 to 6.
- [Release notes](https://github.com/actions/download-artifact/releases )
- [Commits](https://github.com/actions/download-artifact/compare/v5...v6 )
---
updated-dependencies:
- dependency-name: actions/download-artifact
dependency-version: '6'
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
2025-10-28 07:54:24 +00:00
Matt Sturgeon and Gaétan Lepage
4316f24a67
ci/update-maintainers: drop issues:write permission
...
We requested this permission to be able to create new labels, when
labelling the PR. However that is not necessary here, because a) we
don't apply any labels and b) if we did we could create them manually.
Our app installation doesn't have `issues:write`, so requesting it was
causing the workflow to fail.
2025-09-05 15:16:09 +00:00
dependabot[bot] and Matt Sturgeon
b7e96214e8
ci: bump actions/upload-pages-artifact from 3 to 4
...
Bumps [actions/upload-pages-artifact](https://github.com/actions/upload-pages-artifact ) from 3 to 4.
- [Release notes](https://github.com/actions/upload-pages-artifact/releases )
- [Commits](https://github.com/actions/upload-pages-artifact/compare/v3...v4 )
---
updated-dependencies:
- dependency-name: actions/upload-pages-artifact
dependency-version: '4'
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
2025-08-27 14:38:08 +00:00
dependabot[bot] and Austin Horstman
6392a2f44f
ci: bump actions/checkout from 4 to 5
...
Bumps [actions/checkout](https://github.com/actions/checkout ) from 4 to 5.
- [Release notes](https://github.com/actions/checkout/releases )
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md )
- [Commits](https://github.com/actions/checkout/compare/v4...v5 )
---
updated-dependencies:
- dependency-name: actions/checkout
dependency-version: '5'
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
2025-08-27 02:26:19 +00:00
C4 Patino and Matt Sturgeon
cfdbf72664
ci: added treefmt workflow to gha and removed from buildbot
2025-08-20 12:20:59 +00:00
dependabot[bot] and Austin Horstman
1d4816820c
ci: bump actions/download-artifact from 4 to 5
...
Bumps [actions/download-artifact](https://github.com/actions/download-artifact ) from 4 to 5.
- [Release notes](https://github.com/actions/download-artifact/releases )
- [Commits](https://github.com/actions/download-artifact/compare/v4...v5 )
---
updated-dependencies:
- dependency-name: actions/download-artifact
dependency-version: '5'
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
2025-08-13 00:01:34 +00:00
dependabot[bot] and Austin Horstman
584a993831
ci: bump actions/checkout from 4 to 5
...
Bumps [actions/checkout](https://github.com/actions/checkout ) from 4 to 5.
- [Release notes](https://github.com/actions/checkout/releases )
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md )
- [Commits](https://github.com/actions/checkout/compare/v4...v5 )
---
updated-dependencies:
- dependency-name: actions/checkout
dependency-version: '5'
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
2025-08-13 00:01:17 +00:00
awwpotato and Matt Sturgeon
1729fe1608
ISSUE_TEMPLATES: convert to yml
2025-07-30 12:24:07 +00:00
Austin Horstman
4b068551d8
ci/tag-maintainers: refactor managing reviewers
...
Move to separate script that looks at history of requests to determine
who needs to be removed. We will not remove reviews from those who were
manually requested.
2025-07-12 22:20:18 +00:00
Matt Sturgeon
b728cf43d9
ci/tag-maintainers: don't remove review requests
...
We can't distinguish between manual review requests and requests created
by CI, so let's avoid removing any review requests.
2025-07-10 14:36:48 +00:00
Matt Sturgeon
22b3c49a0e
ci: run treefmt
2025-07-09 22:12:18 +00:00
Austin Horstman
405132bab3
ci: tag-maintainers extract maintainers in a separate script
...
Make it easier to test the workflow by moving logic out into separate
script.
2025-07-09 19:23:40 +00:00
Austin Horstman
860754350d
ci: add tag-maintainers workflow
...
Used to parse files changed and determine who should be notified of the
changes.
2025-07-09 19:23:40 +00:00
Austin Horstman
6b56adb71a
ci: add update-maintainers workflow
...
Used to keep the maintainers list updated used for RFC39 invites.
2025-07-08 14:08:46 +00:00
Matt Sturgeon
239d331bb4
ci/update: don't set NIX_PATH
2025-07-02 21:40:44 +00:00
Matt Sturgeon
5c3236c091
ci/pr-merged: use locked nixpkgs
2025-07-02 21:40:44 +00:00
Matt Sturgeon
ceb52aece5
ci/merge: add pr-merged workflow
...
Will be used for notifying when new plugins are added.
Currently it is mostly printing info to the markdown summary.
2025-06-28 20:58:40 +00:00
Matt Sturgeon
aef7b53979
docs: add status to beta/deprecated version links
2025-06-17 23:51:07 +00:00
Matt Sturgeon
b4750c4696
ci/docs: fix base-href in matrix
...
For some reason, when updating `base-href` using `+=`, yq updates _all_
entries matching the LHS selection. This means that all non-main
branches get `"base-href": "/nixvim/24.11/"` in the job matrix.
This gets passed in as an overridden attr when building the docs, and is
used to determine which list item represents the currently-being-built
docs; therefore both 25.05 and 24.11 think they are 24.11...
For some reason, while `+=` does this, `=` does not. So switched to
using that.
2025-06-17 19:12:50 +00:00
Matt Sturgeon
ab0a3682cc
ci/docs: use version-info.toml
2025-06-16 20:29:13 +00:00
Matt Sturgeon
95957f306b
ci/docs: fix build ref
...
Fix typo `inputs.ref` → `matrix.ref`.
This caused an empty string to be assigned to the checkout action's
`ref` input, meaning it used its default value `github.ref`.
Therefore all "versions" of the docs were actually building `main` 😂
Instead, we actually want to checkout the ref from the job's `matrix`.
2025-06-16 00:11:43 +00:00
Matt Sturgeon
7176d51a34
ci/docs: run non-build jobs on ARM
...
This may be marginally slower, but should be more efficient.
Continue using x86 for the main build as it will be faster.
2025-06-15 21:24:10 +00:00
Matt Sturgeon
40bf948e0e
ci/docs: extract action & refactor workflow
...
Extract the "build" part of building & deploying the docs website into a
`build-docs` composite action.
Refactor the workflow to use a matrix job strategy; allowing each branch
to be built in parallel and in isolation.
In a subsequent job, we combine the builds into a single artifact.
2025-06-15 21:24:10 +00:00
Matt Sturgeon
91ecff36b6
ci/docs: rename workflow
2025-06-15 21:24:10 +00:00
Matt Sturgeon
2b2b1e6d8f
ci: rename update-scripts → ci
...
This changes how we think about this directory; it does not need to be
exclusively for scripts related to updates, but should be a place for
any scripts intended to be run by CI workflows.
This mindset should make it easier to develop and test the business
logic of workflows, without always needing to test "in production" on
the nixvim repo or a fork.
2025-06-15 21:23:58 +00:00
Matt Sturgeon
18d838e889
ci/update-other: disable fail-fast matrix strategy
...
This means all updates will be attempted, even if one fails;
E.g. the branch doesn't exist yet.
2025-06-12 20:57:50 +00:00
Matt Sturgeon
d9a4a56dcf
ci/update-other: generate branch list from version-info
...
Uses a sparse-checkout to download only the `version-info.toml` file,
then uses the `yq-go` action to extract the "other" branches as a JSON
array.
2025-06-12 20:57:50 +00:00
Matt Sturgeon
7e02029af6
ci/update-other: move branch list to a prepare job
2025-06-12 20:57:50 +00:00
Matt Sturgeon
b5e0ed67fe
ci/update-other: explicitly set contents: read permission
2025-06-12 20:57:50 +00:00