aboutsummaryrefslogtreecommitdiffstats
path: root/.github/workflows/update-nix-deps.yml
blob: 857f989a9f384ebc9333f6f0c52d67b6ec61d01c (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: ubuntu-latest
    if: github.repository == 'atuinsh/atuin'
    steps:
      - name: Checkout repository
        uses: actions/checkout@v3
      - 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