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-inputs.yaml | 22 ++++++++-------------- 1 file changed, 8 insertions(+), 14 deletions(-) (limited to '.github/workflows/update-inputs.yaml') diff --git a/.github/workflows/update-inputs.yaml b/.github/workflows/update-inputs.yaml index 77b9409..a18c59d 100644 --- a/.github/workflows/update-inputs.yaml +++ b/.github/workflows/update-inputs.yaml @@ -1,9 +1,9 @@ -name: update all inputs +name: update all flake inputs on: - #schedule: - # # run every saturday - # - cron: "0 0 * * 6" + schedule: + # run every saturday + - cron: "0 0 * * 6" workflow_dispatch: permissions: @@ -11,13 +11,7 @@ permissions: pull-requests: write jobs: - update-lock: - runs-on: ubuntu-latest - - steps: - - uses: actions/checkout@v3 - - - uses: ./.github/actions/flake-update - with: - commit-msg: "flake: update all inputs" - github-token: ${{ github.token }} + update: + uses: ./.github/workflows/update-lock.yaml + with: + commit-msg: "flake: update all inputs" -- cgit v1.2.3