diff --git a/.github/workflows/integration-table.yml b/.github/workflows/integration-table.yml deleted file mode 100644 index c015a971..00000000 --- a/.github/workflows/integration-table.yml +++ /dev/null @@ -1,32 +0,0 @@ -name: Generate Integration Table - -on: - workflow_dispatch: - pull_request: - paths: - - 'lua/catppuccin/groups/integrations/**.lua' - branches-ignore: - - 'release-please*' - -jobs: - docs: - name: Update integration table - runs-on: ubuntu-latest - permissions: - contents: write - - steps: - - uses: actions/checkout@v5 - with: - ref: ${{ github.ref }} - - name: Install Neovim - uses: MunifTanjim/setup-neovim-action@v1 - with: - tag: nightly - - name: Update integration table - run: | - nvim -l scripts/generate_integration_mappings_table.lua - - uses: stefanzweifel/git-auto-commit-action@v6 - with: - commit_message: "chore: auto generate integration table" - branch: ${{ github.ref }} diff --git a/.github/workflows/pandocvim.yml b/.github/workflows/pandocvim.yml deleted file mode 100644 index e0fd2bc5..00000000 --- a/.github/workflows/pandocvim.yml +++ /dev/null @@ -1,26 +0,0 @@ -name: panvimdoc - -on: - push: - paths: - - '**.md' - -jobs: - docs: - runs-on: ubuntu-latest - name: pandoc to vimdoc - steps: - - uses: actions/checkout@v5 - - name: panvimdoc - uses: kdheepak/panvimdoc@main - with: - vimdoc: catppuccin - description: "Soothing pastel theme for NeoVim" - pandoc: "README.md" - toc: true - version: "nvim >= 0.8.0" - treesitter: true - - uses: stefanzweifel/git-auto-commit-action@v6 - with: - commit_message: "docs: auto generate vimdoc" - branch: ${{ github.head_ref }} diff --git a/.github/workflows/patch.yml b/.github/workflows/patch.yml new file mode 100644 index 00000000..91b1a55a --- /dev/null +++ b/.github/workflows/patch.yml @@ -0,0 +1,50 @@ +name: Patch +on: + workflow_dispatch: + pull_request: + branches: [main] + +jobs: + docs: + name: generate vimdoc + runs-on: ubuntu-latest + permissions: + contents: write + + steps: + - uses: actions/checkout@v5 + with: + ref: ${{ github.ref }} + - name: panvimdoc + uses: kdheepak/panvimdoc@main + with: + vimdoc: catppuccin + description: "Soothing pastel theme for NeoVim" + pandoc: "README.md" + toc: true + version: "nvim >= 0.8.0" + treesitter: true + - uses: stefanzweifel/git-auto-commit-action@v6 + with: + commit_message: "docs: auto generate vimdoc" + branch: ${{ github.ref }} + integration-table-gen: + needs: [docs] + name: update integration table + runs-on: ubuntu-latest + permissions: + contents: write + + steps: + - uses: actions/checkout@v5 + with: + ref: ${{ github.ref }} + - name: Install Neovim + uses: MunifTanjim/setup-neovim-action@v1 + - name: Update integration table + run: | + nvim -l scripts/generate_integration_mappings_table.lua + - uses: stefanzweifel/git-auto-commit-action@v6 + with: + commit_message: "chore: auto generate integration table" + branch: ${{ github.ref }}