diff --git a/.github/workflows/nix-flake-update.yml b/.github/workflows/nix-flake-update.yml index 2745f5320..ea936a0bf 100644 --- a/.github/workflows/nix-flake-update.yml +++ b/.github/workflows/nix-flake-update.yml @@ -20,7 +20,8 @@ on: - cron: '0 0 * * 0' # Weekly on Sundays permissions: - contents: read + contents: write + pull-requests: write concurrency: group: ${{ github.workflow }}-${{ github.ref }} @@ -31,9 +32,6 @@ jobs: name: Update flake.lock runs-on: ubuntu-latest timeout-minutes: 30 - permissions: - contents: write - pull-requests: write steps: - name: Checkout repository uses: actions/checkout@v6 @@ -52,7 +50,10 @@ jobs: pr-labels: | dependencies nix + automated commit-msg: "chore(deps): update flake.lock" + pr-reviewers: houseme, heihutu + token: ${{ secrets.GITHUB_TOKEN }} - name: Log PR details if: steps.update.outputs.pull-request-number diff --git a/flake.lock b/flake.lock index 4822d9da5..8380f8921 100644 --- a/flake.lock +++ b/flake.lock @@ -2,11 +2,11 @@ "nodes": { "nixpkgs": { "locked": { - "lastModified": 1765270179, - "narHash": "sha256-g2a4MhRKu4ymR4xwo+I+auTknXt/+j37Lnf0Mvfl1rE=", + "lastModified": 1770843696, + "narHash": "sha256-LovWTGDwXhkfCOmbgLVA10bvsi/P8eDDpRudgk68HA8=", "owner": "NixOS", "repo": "nixpkgs", - "rev": "677fbe97984e7af3175b6c121f3c39ee5c8d62c9", + "rev": "2343bbb58f99267223bc2aac4fc9ea301a155a16", "type": "github" }, "original": { @@ -18,7 +18,28 @@ }, "root": { "inputs": { - "nixpkgs": "nixpkgs" + "nixpkgs": "nixpkgs", + "rust-overlay": "rust-overlay" + } + }, + "rust-overlay": { + "inputs": { + "nixpkgs": [ + "nixpkgs" + ] + }, + "locked": { + "lastModified": 1771125043, + "narHash": "sha256-ldf/s49n6rOAxl7pYLJGGS1N/assoHkCOWdEdLyNZkc=", + "owner": "oxalica", + "repo": "rust-overlay", + "rev": "4912f951a26dc8142b176be2c2ad834319dc06e8", + "type": "github" + }, + "original": { + "owner": "oxalica", + "repo": "rust-overlay", + "type": "github" } } },