d5f207424b
e2e Tests / e2e (macos-latest) (push) Waiting to run
Nix CI / check (push) Waiting to run
Python CI / Python bindings (macos-latest) (push) Waiting to run
e2e Tests / e2e (windows-latest) (push) Waiting to run
Python CI / Python bindings (windows-latest) (push) Waiting to run
Build & Publish / Build Neovim aarch64-apple-darwin (push) Waiting to run
Build & Publish / Build Neovim aarch64-pc-windows-msvc (push) Waiting to run
Build & Publish / Build Neovim x86_64-apple-darwin (push) Waiting to run
Build & Publish / Build Neovim x86_64-pc-windows-msvc (push) Waiting to run
Build & Publish / Build C FFI aarch64-apple-darwin (push) Waiting to run
Build & Publish / Build C FFI aarch64-pc-windows-msvc (push) Waiting to run
Build & Publish / Build C FFI x86_64-apple-darwin (push) Waiting to run
Build & Publish / Build C FFI x86_64-pc-windows-msvc (push) Waiting to run
Build & Publish / Build MCP aarch64-apple-darwin (push) Waiting to run
Build & Publish / Build MCP aarch64-pc-windows-msvc (push) Waiting to run
Build & Publish / Build MCP x86_64-apple-darwin (push) Waiting to run
Build & Publish / Build MCP x86_64-pc-windows-msvc (push) Waiting to run
Build & Publish / Build Python wheels aarch64 (macos-latest) (push) Waiting to run
Build & Publish / Build Python wheels x86_64 (macos-latest) (push) Waiting to run
Build & Publish / Build Python wheels x86_64 (windows-latest) (push) Waiting to run
Build & Publish / Release (push) Blocked by required conditions
Build & Publish / Publish Python wheels to PyPI (push) Blocked by required conditions
Build & Publish / Publish Rust crates (push) Blocked by required conditions
Build & Publish / Publish npm packages (push) Blocked by required conditions
Rust CI / Fuzz Tests (windows-latest) (push) Waiting to run
Rust CI / Test (macos-latest) (push) Waiting to run
Rust CI / Test (windows-latest) (push) Waiting to run
Rust CI / Fuzz Tests (macos-latest) (push) Waiting to run
Python CI / Python bindings (ubuntu-latest) (push) Failing after 0s
Build & Publish / Build Neovim aarch64-linux-android (push) Failing after 0s
Build & Publish / Build Neovim aarch64-unknown-linux-gnu (push) Failing after 0s
Build & Publish / Build MCP x86_64-unknown-linux-musl (push) Failing after 1s
Build & Publish / Build Python wheels aarch64 (ubuntu-latest) (push) Failing after 0s
Build & Publish / Build Python wheels x86_64 (ubuntu-latest) (push) Failing after 1s
Build & Publish / Build Python sdist (push) Failing after 1s
Rust CI / Fuzz Tests (ubuntu-latest) (push) Failing after 1s
Rust CI / Build i686-unknown-linux-gnu (push) Failing after 0s
Rust CI / cargo clippy (push) Failing after 1s
e2e Tests / e2e (ubuntu-latest) (push) Failing after 1s
Lua CI / luacheck lint (push) Failing after 1s
Build & Publish / Build Neovim aarch64-unknown-linux-musl (push) Failing after 1s
Build & Publish / Build Neovim x86_64-unknown-linux-gnu (push) Failing after 0s
Build & Publish / Build Neovim x86_64-unknown-linux-musl (push) Failing after 1s
Build & Publish / Build C FFI aarch64-linux-android (push) Failing after 0s
Build & Publish / Build C FFI aarch64-unknown-linux-gnu (push) Failing after 0s
Build & Publish / Build C FFI aarch64-unknown-linux-musl (push) Failing after 1s
Build & Publish / Build C FFI x86_64-unknown-linux-gnu (push) Failing after 0s
Build & Publish / Build C FFI x86_64-unknown-linux-musl (push) Failing after 1s
Build & Publish / Build MCP aarch64-unknown-linux-gnu (push) Failing after 1s
Build & Publish / Build MCP aarch64-unknown-linux-musl (push) Failing after 0s
Build & Publish / Build MCP x86_64-unknown-linux-gnu (push) Failing after 1s
Spelling / Spell Check with Typos (push) Failing after 0s
Rust CI / Test (ubuntu-latest) (push) Failing after 0s
Rust CI / cargo fmt (push) Failing after 0s
Stylua / Check lua files using Stylua (push) Failing after 1s
Lua CI / lua-language-server type check (push) Failing after 12m29s
e2e Tests / e2e (alpine-musl) (push) Successful in 57m31s
86 lines
2.7 KiB
YAML
86 lines
2.7 KiB
YAML
on:
|
|
schedule:
|
|
- cron: "0 4 * * *"
|
|
workflow_dispatch:
|
|
|
|
name: docs
|
|
|
|
jobs:
|
|
docs:
|
|
runs-on: ubuntu-latest
|
|
permissions:
|
|
contents: write
|
|
pull-requests: write
|
|
steps:
|
|
- uses: actions/checkout@v5
|
|
with:
|
|
ref: main
|
|
fetch-depth: 2
|
|
|
|
- name: Extract Neovim section from README.md
|
|
run: |
|
|
awk '
|
|
/^<details id="neovim-plugin">/ { capture=1; next }
|
|
capture && /^<\/details>/ { capture=0; exit }
|
|
capture && /^<summary>$/ { next }
|
|
capture && /^<\/summary>$/ { next }
|
|
capture && /<h2>.*<\/h2>/ {
|
|
gsub(/<\/?h2>/, "")
|
|
sub(/^[[:space:]]+/, "")
|
|
print "# " $0
|
|
print ""
|
|
print "The best file search picker for Neovim. Frecency-ranked, typo-resistant, git-award, very fast."
|
|
print ""
|
|
next
|
|
}
|
|
capture { print }
|
|
' README.md > .panvimdoc-input.md
|
|
test -s .panvimdoc-input.md
|
|
|
|
- name: panvimdoc
|
|
uses: kdheepak/panvimdoc@main
|
|
with:
|
|
vimdoc: fff.nvim
|
|
pandoc: .panvimdoc-input.md
|
|
version: "Neovim >= 0.10.0"
|
|
demojify: true
|
|
treesitter: true
|
|
|
|
- name: Cleanup intermediate file
|
|
run: rm -f .panvimdoc-input.md
|
|
|
|
# panvimdoc stamps "Last change: <today>" every run, so a daily cron always
|
|
# produces a one-line diff. Skip the PR unless a non-date line changed.
|
|
- name: Detect real doc changes
|
|
id: docdiff
|
|
run: |
|
|
if git diff --quiet -I 'Last change:' -- doc/fff.nvim.txt; then
|
|
echo "changed=false" >> "$GITHUB_OUTPUT"
|
|
else
|
|
echo "changed=true" >> "$GITHUB_OUTPUT"
|
|
fi
|
|
|
|
- name: Create pull request
|
|
id: cpr
|
|
if: steps.docdiff.outputs.changed == 'true'
|
|
uses: peter-evans/create-pull-request@v7
|
|
with:
|
|
branch: bot/regenerate-vimdoc
|
|
token: ${{ secrets.GUSTAV_PAT }}
|
|
delete-branch: true
|
|
title: "chore: regenerate Neovim vimdoc"
|
|
commit-message: |
|
|
chore: regenerate Neovim vimdoc
|
|
|
|
Co-authored-by: Dmitriy Kovalenko <dmtr.kovalenko@outlook.com>
|
|
author: "gustav-fff <66k7bxj9m6@privaterelay.appleid.com>"
|
|
committer: "gustav-fff <66k7bxj9m6@privaterelay.appleid.com>"
|
|
body: Automated vimdoc regeneration from README.md, scribed by Gustav.
|
|
add-paths: doc/fff.nvim.txt
|
|
|
|
- name: Enable auto-merge
|
|
if: steps.cpr.outputs.pull-request-number
|
|
env:
|
|
GH_TOKEN: ${{ secrets.GUSTAV_PAT }}
|
|
run: gh pr merge --auto --squash "${{ steps.cpr.outputs.pull-request-number }}"
|