summaryrefslogtreecommitdiff
path: root/.github/workflows/update-nixpkgs.yaml
blob: ccb04d3a821a3a79f43a309a00f85b00a9d22660 (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
name: update nixpkgs inputs

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

permissions: read-all

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

    steps:
      - name: checkout repo
        uses: actions/checkout@v3

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