diff options
Diffstat (limited to '.github/workflows/update-flake.yaml')
| -rw-r--r-- | .github/workflows/update-flake.yaml | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/.github/workflows/update-flake.yaml b/.github/workflows/update-flake.yaml new file mode 100644 index 0000000..02e4d3b --- /dev/null +++ b/.github/workflows/update-flake.yaml @@ -0,0 +1,30 @@ +name: flake.lock + +on: + schedule: + # run every saturday + - cron: "0 0 * * 6" + workflow_dispatch: + +jobs: + update: + name: Update & make PR + + runs-on: ubuntu-latest + + permissions: + contents: write + pull-requests: write + + steps: + - name: Checkout repository + uses: actions/checkout@v4 + + - name: Install Nix + uses: DeterminateSystems/nix-installer-action@v14 + + - uses: DeterminateSystems/update-flake-lock@v24 + with: + commit-msg: "chore(nix): update flake.lock" + pr-title: "chore(nix): update flake.lock" + token: ${{ github.token }} |
