summaryrefslogtreecommitdiff
path: root/.github/workflows/update-lock.yaml
blob: 6ab7eb712148054ece8247499f728d898f184e2a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
name: update flake lock

on:
  schedule: 
    - cron: "0 0 * * 6"
  workflow_dispatch:

jobs:
  update:
    runs-on: ubuntu-latest

    permissions:
     contents: write
     pull-requests: write

    steps:
      - uses: actions/checkout@v4
      - uses: DeterminateSystems/nix-installer-action@main
      
      - name: update lockfile
        uses: DeterminateSystems/update-flake-lock@v20
        id: update
        with:
          commit-msg: "flake: update inputs"
          pr-title: "flake: update inputs"
          token: ${{ github.token }}