Update Flake Inputs #76
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Update Flake Inputs | |
on: | |
workflow_dispatch: | |
schedule: | |
- cron: "0 2 * * 3" # 02:00 on Wednesday | |
jobs: | |
update-lockfile: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v4.1.0 | |
- name: Install Nix | |
uses: DeterminateSystems/nix-installer-action@main | |
- name: Update Lockfile | |
run: nix flake update | |
- name: Update Sources | |
run: | | |
nix run nixpkgs#nvfetcher | |
pushd pkgs/nvim-treesitter | |
nix run nixpkgs#nvfetcher | |
popd | |
- uses: stefanzweifel/git-auto-commit-action@v5 | |
with: | |
commit_message: "Update Flake Inputs" | |
commit_user_name: GitHub Actions |