aboutsummaryrefslogtreecommitdiffstats
path: root/.github/workflows/update-nix-deps.yml
blob: 2ed5ff785624367c620b08a1c22df45f5697e856 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
name: Update Nix Deps
on:
  workflow_dispatch: # allows manual triggering
  schedule:
    - cron: '0 0 1 * *' # runs monthly on the first day of the month at 00:00

jobs:
  lockfile:
    runs-on: depot-ubuntu-24.04
    if: github.repository == 'atuinsh/atuin'
    steps:
      - name: Checkout repository
        uses: actions/checkout@v6
      - name: Install Nix
        uses: DeterminateSystems/nix-installer-action@main
      - name: Update flake.lock
        uses: DeterminateSystems/update-flake-lock@main
        with:
          pr-title: "chore(deps): update flake.lock"
          pr-labels: |
            dependencies