From 81f860b0b770a52ab32f78f5345dcc47d045e772 Mon Sep 17 00:00:00 2001 From: cy Date: Fri, 3 Jan 2025 06:18:01 -0500 Subject: [PATCH] lazy update plugins workflow --- .github/workflows/lazy-update.yml | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 .github/workflows/lazy-update.yml diff --git a/.github/workflows/lazy-update.yml b/.github/workflows/lazy-update.yml new file mode 100644 index 0000000..d1cde9e --- /dev/null +++ b/.github/workflows/lazy-update.yml @@ -0,0 +1,22 @@ +name: "update lazy plugins" +on: + repository_dispatch: + workflow_dispatch: + schedule: + - cron: "0 3 * * *" +jobs: + update-lazy-plugins: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + with: + submodules: true + - uses: cachix/install-nix-action@v30 + - name: Update vim plugins + run: | + export XDG_CONFIG_HOME=$PWD/home + nix run nixpkgs#neovim -- --headless "+Lazy! update" +qa + - name: Create Pull Request + uses: peter-evans/create-pull-request@v7 + with: + title: update lazy plugins