0xda157's nixvim config

add update workflow

+30
+30
.forgejo/workflows/update-flake-lock.yml
··· 1 + name: update-flake-lock 2 + on: 3 + workflow_dispatch: 4 + schedule: 5 + - cron: '0 0 * * 0' # runs weekly on Sunday at 00:00 6 + 7 + jobs: 8 + lockfile: 9 + runs-on: codeberg-tiny 10 + steps: 11 + - name: checkout repository 12 + uses: actions/checkout@v4 13 + - name: install nix 14 + uses: https://github.com/DeterminateSystems/nix-installer-action@main 15 + - run: | 16 + git config --global user.name "${GITHUB_ACTOR}" 17 + git config --global user.email "${GITHUB_ACTOR}@noreply.codeberg.org" 18 + - name: update flake.lock 19 + run: nix flake update --commit-lock-file 20 + - name: post update check 21 + run: nix flake check 22 + - name: create pr 23 + uses: https://code.forgejo.org/peter-evans/create-pull-request@v7 24 + with: 25 + commit-message: "chore: update nix flake lock" 26 + title: "chore: update nix flake lock" 27 + body: "" 28 + reviewers: awwpotato 29 + author: '${{ github.actor }} <${{ github.actor }}@noreply.codeberg.org>' 30 + committer: '${{ github.actor }} <${{ github.actor }}@noreply.codeberg.org>'