summaryrefslogtreecommitdiff
path: root/.github/workflows/update-nixpkgs.yaml
diff options
context:
space:
mode:
authorseth <[email protected]>2023-09-06 17:52:38 -0400
committerseth <[email protected]>2023-09-07 13:52:26 -0400
commita3417fada3c603ef5b3e0820d695b684661fb4d5 (patch)
tree9936fa78ebd0323dfc9cb255618bc78defb57422 /.github/workflows/update-nixpkgs.yaml
parente41f98de313f81a74a6ebb1131b3bd92817c4acb (diff)
actions: make flake-update a reusable workflow
Diffstat (limited to '.github/workflows/update-nixpkgs.yaml')
-rw-r--r--.github/workflows/update-nixpkgs.yaml24
1 files changed, 9 insertions, 15 deletions
diff --git a/.github/workflows/update-nixpkgs.yaml b/.github/workflows/update-nixpkgs.yaml
index 819cb2a..116cc4b 100644
--- a/.github/workflows/update-nixpkgs.yaml
+++ b/.github/workflows/update-nixpkgs.yaml
@@ -1,9 +1,9 @@
-name: update nixpkgs inputs
+name: update nixpkgs flake inputs
on:
- #schedule:
- # # run daily at 0:00 utc
- # - cron: "0 0 * * *"
+ schedule:
+ # run daily at 0:00 utc
+ - cron: "0 0 * * *"
workflow_dispatch:
permissions:
@@ -11,14 +11,8 @@ permissions:
pull-requests: write
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: ${{ github.token }}
- inputs: nixpkgs nixpkgs-stable
+ update:
+ uses: ./.github/workflows/update-lock.yaml
+ with:
+ commit-msg: "flake: update nixpkgs inputs"
+ inputs: "nixpkgs nixpkgs-stable"