ci: scripts and format (#68)
* ci(digest): approve with DIGEST_PAT after disabling require_last_push_approval 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. * ci: format + scripts
This commit is contained in:
parent
9b656387fb
commit
aee5ea10c6
5 changed files with 13 additions and 3 deletions
|
|
@ -2,7 +2,7 @@ name: upstream digest
|
||||||
|
|
||||||
on:
|
on:
|
||||||
schedule:
|
schedule:
|
||||||
- cron: "0 9 * * 1"
|
- cron: '0 9 * * 1'
|
||||||
workflow_dispatch:
|
workflow_dispatch:
|
||||||
|
|
||||||
permissions:
|
permissions:
|
||||||
|
|
@ -4,7 +4,8 @@
|
||||||
"pathStrict": true
|
"pathStrict": true
|
||||||
},
|
},
|
||||||
"workspace": {
|
"workspace": {
|
||||||
"checkThirdParty": false
|
"checkThirdParty": false,
|
||||||
|
"ignoreDir": [".direnv"]
|
||||||
},
|
},
|
||||||
"type": {
|
"type": {
|
||||||
"checkTableShape": true
|
"checkTableShape": true
|
||||||
|
|
|
||||||
1
.styluaignore
Normal file
1
.styluaignore
Normal file
|
|
@ -0,0 +1 @@
|
||||||
|
.direnv/
|
||||||
|
|
@ -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
|
filesystem like a buffer, with bug fixes and community PRs that haven't landed
|
||||||
upstream.
|
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
|
https://user-images.githubusercontent.com/506791/209727111-6b4a11f4-634a-4efa-9461-80e9717cea94.mp4
|
||||||
|
|
||||||
|
|
|
||||||
7
scripts/ci.sh
Executable file
7
scripts/ci.sh
Executable file
|
|
@ -0,0 +1,7 @@
|
||||||
|
#!/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 develop --command busted
|
||||||
Loading…
Add table
Add a link
Reference in a new issue