From a3417fada3c603ef5b3e0820d695b684661fb4d5 Mon Sep 17 00:00:00 2001 From: seth Date: Wed, 6 Sep 2023 17:52:38 -0400 Subject: actions: make flake-update a reusable workflow --- .github/workflows/update-nixpkgs.yaml | 24 +++++++++--------------- 1 file changed, 9 insertions(+), 15 deletions(-) (limited to '.github/workflows/update-nixpkgs.yaml') 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" -- cgit v1.2.3