aboutsummaryrefslogtreecommitdiff
path: root/.github/workflows/flake-updater.yml
blob: ba5ac667e6972cc17e4aaf324cc9887bebba060a (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
name: ❄️ Flake Lock Updater

on:
  workflow_dispatch:
  schedule:
    - cron: "30 5 * * 0"

# you need to grant permissions to create PR:
# https://github.com/DeterminateSystems/update-flake-lock/issues/75
jobs:
  update-flake-lock:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v4
      - uses: DeterminateSystems/nix-installer-action@v17
      - uses: DeterminateSystems/update-flake-lock@v24
        with:
          token: ${{ secrets.GH_TOKEN_FOR_UPDATES }}
          pr-title: "Update flake.lock"
          commit-msg: "chore: update flake"
          pr-assignees: fcuny
          pr-labels: |
            dependencies
            automated