From 630934a2631d9429b4e46c1b6ec0f6640f332384 Mon Sep 17 00:00:00 2001 From: seth Date: Mon, 22 May 2023 02:35:15 -0400 Subject: !hercules-ci -> hydra --- .github/workflows/update-nixpkgs.yaml | 44 +++++++++++++++++++++++++++++++++++ 1 file changed, 44 insertions(+) create mode 100644 .github/workflows/update-nixpkgs.yaml (limited to '.github/workflows/update-nixpkgs.yaml') diff --git a/.github/workflows/update-nixpkgs.yaml b/.github/workflows/update-nixpkgs.yaml new file mode 100644 index 0000000..1e86fe6 --- /dev/null +++ b/.github/workflows/update-nixpkgs.yaml @@ -0,0 +1,44 @@ +name: update nixpkgs inputs + +on: + #schedule: + # # run every 2 days, sunday-friday + # - cron: "0 0 * * 0-5/2" + workflow_dispatch: + +permissions: read-all + +jobs: + update-nixpkgs: + 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 nixpkgs inputs + uses: DeterminateSystems/update-flake-lock@v19 + with: + inputs: nixpkgs nixpkgs-stable + commit-msg: "chore: update nixpkgs inputs" + pr-title: "chore: update nixpkgs 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 }} -- cgit v1.2.3