diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml new file mode 100644 index 0000000..497770e --- /dev/null +++ b/.github/workflows/build.yml @@ -0,0 +1,26 @@ +name: Flake.lock +on: + schedule: + - cron: "0 6 * * *" + workflow_dispatch: + push: + +jobs: + build: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v3 + with: + fetch-depth: 0 + - uses: cachix/install-nix-action@v20 + - run: nix flake update + - uses: stefanzweifel/git-auto-commit-action@v4 + with: + commit_message: Bump flake.lock + branch: main + commit_options: '--no-verify --signoff' + file_pattern: flake.lock + commit_user_name: Flake Bot + commit_author: Flake Bot + skip_dirty_check: false + skip_fetch: true