Compare commits

..

5 commits

Author SHA1 Message Date
161d25e922
ci: nix 2026-03-04 14:07:40 -05:00
65b63c13b1
fix 2026-03-04 13:48:56 -05:00
eb3ad2bcb0
ci: format + scripts 2026-03-04 13:44:12 -05:00
github-actions[bot]
9b656387fb
docs(upstream): upstream digest (#67)
docs(upstream): upstream digest 2026-03-03

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2026-03-03 21:08:58 +00:00
Barrett Ruth
ad03b3771a
ci(digest): approve with DIGEST_PAT after disabling require_last_push_approval (#66)
require_last_push_approval blocked barrettruth from approving their
own push. Disabled that restriction in the ruleset — 1 approval is
still required for all PRs, but the approver can now be the pusher.
DIGEST_PAT (barrettruth) approves, CI runs via PAT push, auto-merge
fires when checks pass.
2026-03-03 16:07:53 -05:00
7 changed files with 21 additions and 4 deletions

View file

@ -2,7 +2,7 @@ name: upstream digest
on:
schedule:
- cron: "0 9 * * 1"
- cron: '0 9 * * 1'
workflow_dispatch:
permissions:

View file

@ -4,7 +4,8 @@
"pathStrict": true
},
"workspace": {
"checkThirdParty": false
"checkThirdParty": false,
"ignoreDir": [".direnv"]
},
"type": {
"checkTableShape": true

1
.styluaignore Normal file
View file

@ -0,0 +1 @@
.direnv/

View file

@ -4,7 +4,8 @@ A refined [oil.nvim](https://github.com/stevearc/oil.nvim) — edit your
filesystem like a buffer, with bug fixes and community PRs that haven't landed
upstream.
[Upstream tracker](doc/upstream.md) — full PR and issue triage against [oil.nvim](https://github.com/stevearc/oil.nvim)
[Upstream tracker](doc/upstream.md) — full PR and issue triage against
[oil.nvim](https://github.com/stevearc/oil.nvim)
https://user-images.githubusercontent.com/506791/209727111-6b4a11f4-634a-4efa-9461-80e9717cea94.mp4

View file

@ -46,6 +46,7 @@ Bugs fixed in this fork that remain open upstream.
| [#708](https://github.com/stevearc/oil.nvim/pull/708) | Move file into new dir by renaming | deferred — needs rewrite |
| [#721](https://github.com/stevearc/oil.nvim/pull/721) | `create_hook` to populate file contents | open |
| [#728](https://github.com/stevearc/oil.nvim/pull/728) | `open_split` for opening oil in a split | tracked — [#2](https://github.com/barrettruth/canola.nvim/issues/2) |
| [#735](https://github.com/stevearc/oil.nvim/pull/735) | gX opens external program with a selection. | open |
## Upstream issues
@ -161,3 +162,4 @@ addressed, `open` = not yet triaged.
| [#714](https://github.com/stevearc/oil.nvim/issues/714) | not actionable | Support question — answered |
| [#719](https://github.com/stevearc/oil.nvim/issues/719) | not actionable | Neovim crash on node_modules — libuv/neovim bug |
| [#726](https://github.com/stevearc/oil.nvim/issues/726) | not actionable | Meta discussion/roadmap |
| [#736](https://github.com/stevearc/oil.nvim/issues/736) | open | feature request: make icons virtual text |

View file

@ -13,9 +13,12 @@
...
}:
let
forEachSystem = f: nixpkgs.lib.genAttrs (import systems) (system: f nixpkgs.legacyPackages.${system});
forEachSystem =
f: nixpkgs.lib.genAttrs (import systems) (system: f nixpkgs.legacyPackages.${system});
in
{
formatter = forEachSystem (pkgs: pkgs.nixfmt-tree);
devShells = forEachSystem (pkgs: {
default = pkgs.mkShell {
packages = [

9
scripts/ci.sh Executable file
View file

@ -0,0 +1,9 @@
#!/bin/sh
set -eu
nix develop --command stylua --check lua spec
git ls-files '*.lua' | xargs nix develop --command selene --display-style quiet
nix develop --command prettier --check .
nix fmt
git diff --exit-code -- '*.nix'
nix develop --command busted