summaryrefslogtreecommitdiff
path: root/.github/workflows/update-inputs.yaml
diff options
context:
space:
mode:
authorseth <[email protected]>2023-05-22 02:35:15 -0400
committerseth <[email protected]>2023-05-23 11:05:28 -0400
commit630934a2631d9429b4e46c1b6ec0f6640f332384 (patch)
treed8bd14cafb0ac382625bc5dca79b84d497e9bab7 /.github/workflows/update-inputs.yaml
parent2cb6cfab9553184c1e6a10303cb832fe96080d00 (diff)
!hercules-ci -> hydra
Diffstat (limited to '.github/workflows/update-inputs.yaml')
-rw-r--r--.github/workflows/update-inputs.yaml44
1 files changed, 44 insertions, 0 deletions
diff --git a/.github/workflows/update-inputs.yaml b/.github/workflows/update-inputs.yaml
new file mode 100644
index 0000000..35b22d4
--- /dev/null
+++ b/.github/workflows/update-inputs.yaml
@@ -0,0 +1,44 @@
+name: update all inputs
+
+on:
+ #schedule:
+ # # run every saturday
+ # - cron: "0 0 * * 6"
+ workflow_dispatch:
+
+permissions: read-all
+
+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: setup cachix
+ uses: cachix/cachix-action@v12
+ with:
+ name: getchoo
+
+ - name: update all inputs
+ uses: DeterminateSystems/update-flake-lock@v19
+ with:
+ inputs: nixpkgs nixpkgsUnstable
+ commit-msg: "chore: update all inputs"
+ pr-title: "chore: update all inputs"
+ pr-body: |
+ Automated changes by the [update-flake-lock](https://github.com/DeterminateSystems/update-flake-lock) GitHub Action.
+
+ ```
+ ${{ env.GIT_COMMIT_MESSAGE }}
+ ```
+
+ bors r+
+ nix-options: "--accept-flake-config"
+ token: ${{ secrets.FLAKE_UPDATE }}