summaryrefslogtreecommitdiff
path: root/.github/workflows/update-nixpkgs.yaml
blob: 8b0ac1b2645f4fa435575cb76cba48198f4e0727 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
name: update nixpkgs inputs

on:
  schedule:
    # run daily at 0:00 utc
    - cron: "0 0 * * *"
  workflow_dispatch:

jobs:
  update-nixpkgs:
    runs-on: ubuntu-latest

    steps:
      - uses: actions/checkout@v3

      - uses: ./.github/actions/flake-update
        with:
          commit-msg: "flake: update nixpkgs inputs"
          github-token: ${{ secrets.GITHUB_TOKEN }}
          inputs: nixpkgs nixpkgs-stable
          update-token: ${{ secrets.FLAKE_UPDATE }}