diff options
| author | seth <[email protected]> | 2023-05-25 15:25:38 -0400 |
|---|---|---|
| committer | seth <[email protected]> | 2023-05-25 15:25:38 -0400 |
| commit | e4bf07e8d8c24966088268f750742dc77c5d5db1 (patch) | |
| tree | 7cad50d79fcf1f03e00c5af1b8b2c22fde30c318 /.github/workflows/update-inputs.yaml | |
| parent | 82b19b36568b53cb97cb2cfec5e71a951429e51e (diff) | |
actions: add update-inputs workflow
Diffstat (limited to '.github/workflows/update-inputs.yaml')
| -rw-r--r-- | .github/workflows/update-inputs.yaml | 31 |
1 files changed, 31 insertions, 0 deletions
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 }} |
