From e4bf07e8d8c24966088268f750742dc77c5d5db1 Mon Sep 17 00:00:00 2001 From: seth Date: Thu, 25 May 2023 15:25:38 -0400 Subject: actions: add update-inputs workflow --- .github/workflows/update-inputs.yaml | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 .github/workflows/update-inputs.yaml (limited to '.github/workflows/update-inputs.yaml') diff --git a/.github/workflows/update-inputs.yaml b/.github/workflows/update-inputs.yaml new file mode 100644 index 0000000..04803cb --- /dev/null +++ b/.github/workflows/update-inputs.yaml @@ -0,0 +1,31 @@ +name: update inputs + +on: + schedule: + # run every saturday + - cron: "0 0 * * 6" + workflow_dispatch: + +permissions: + contents: write + +jobs: + update-lock: + runs-on: ubuntu-latest + + steps: + - name: checkout repo + uses: actions/checkout@v3 + + - name: install nix + uses: cachix/install-nix-action@v20 + with: + github_access_token: ${{ secrets.GITHUB_TOKEN }} + + - name: update all inputs + uses: DeterminateSystems/update-flake-lock@v19 + with: + commit-msg: "flake: update inputs" + pr-title: "flake: update all inputs" + nix-options: "--accept-flake-config" + token: ${{ secrets.GITHUB_TOKEN }} -- cgit v1.2.3