Skip to content

Commit 7e26351

Browse files
comfysagesgoudham
andauthored
ci: merge patch workflows (#921)
Co-authored-by: Hammy <58985301+sgoudham@users.noreply.github.com>
1 parent 25a0433 commit 7e26351

3 files changed

Lines changed: 50 additions & 58 deletions

File tree

.github/workflows/integration-table.yml

Lines changed: 0 additions & 32 deletions
This file was deleted.

.github/workflows/pandocvim.yml

Lines changed: 0 additions & 26 deletions
This file was deleted.

.github/workflows/patch.yml

Lines changed: 50 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,50 @@
1+
name: Patch
2+
on:
3+
workflow_dispatch:
4+
pull_request:
5+
branches: [main]
6+
7+
jobs:
8+
docs:
9+
name: generate vimdoc
10+
runs-on: ubuntu-latest
11+
permissions:
12+
contents: write
13+
14+
steps:
15+
- uses: actions/checkout@v5
16+
with:
17+
ref: ${{ github.ref }}
18+
- name: panvimdoc
19+
uses: kdheepak/panvimdoc@main
20+
with:
21+
vimdoc: catppuccin
22+
description: "Soothing pastel theme for NeoVim"
23+
pandoc: "README.md"
24+
toc: true
25+
version: "nvim >= 0.8.0"
26+
treesitter: true
27+
- uses: stefanzweifel/git-auto-commit-action@v6
28+
with:
29+
commit_message: "docs: auto generate vimdoc"
30+
branch: ${{ github.ref }}
31+
integration-table-gen:
32+
needs: [docs]
33+
name: update integration table
34+
runs-on: ubuntu-latest
35+
permissions:
36+
contents: write
37+
38+
steps:
39+
- uses: actions/checkout@v5
40+
with:
41+
ref: ${{ github.ref }}
42+
- name: Install Neovim
43+
uses: MunifTanjim/setup-neovim-action@v1
44+
- name: Update integration table
45+
run: |
46+
nvim -l scripts/generate_integration_mappings_table.lua
47+
- uses: stefanzweifel/git-auto-commit-action@v6
48+
with:
49+
commit_message: "chore: auto generate integration table"
50+
branch: ${{ github.ref }}

0 commit comments

Comments
 (0)