From 7954a87ce232b2fb67966a03c08c95c41a365c47 Mon Sep 17 00:00:00 2001 From: Plopmenz Date: Tue, 17 Feb 2026 16:21:14 +0100 Subject: [PATCH 1/2] use github app for updates --- .github/workflows/update.yml | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/.github/workflows/update.yml b/.github/workflows/update.yml index ce04095..73de590 100644 --- a/.github/workflows/update.yml +++ b/.github/workflows/update.yml @@ -5,17 +5,24 @@ on: - cron: "0 0 * * *" workflow_dispatch: -permissions: - contents: write - jobs: update: runs-on: ubuntu-latest steps: + - name: Create app token + uses: actions/create-github-app-token@v2 + id: app-token + with: + app-id: ${{ secrets.UPDATE_APP_ID }} + private-key: ${{ secrets.UPDATE_APP_PRIVATE_KEY }} + permission-contents: write + permission-pull-requests: write + - name: Checkout code uses: actions/checkout@v6 with: + token: ${{ steps.app-token.outputs.token }} ref: cache - name: Install Nix From 8eef12871c6870d75336698a1e6d54ccb86eebdd Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Tue, 17 Feb 2026 15:57:42 +0000 Subject: [PATCH 2/2] Automated update --- flake.lock | 6 +++--- package.nix | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/flake.lock b/flake.lock index f85c576..dc4e826 100644 --- a/flake.lock +++ b/flake.lock @@ -2,11 +2,11 @@ "nodes": { "nixpkgs": { "locked": { - "lastModified": 1742669843, - "narHash": "sha256-G5n+FOXLXcRx+3hCJ6Rt6ZQyF1zqQ0DL0sWAMn2Nk0w=", + "lastModified": 1771008912, + "narHash": "sha256-gf2AmWVTs8lEq7z/3ZAsgnZDhWIckkb+ZnAo5RzSxJg=", "owner": "NixOS", "repo": "nixpkgs", - "rev": "1e5b653dff12029333a6546c11e108ede13052eb", + "rev": "a82ccc39b39b621151d6732718e3e250109076fa", "type": "github" }, "original": { diff --git a/package.nix b/package.nix index 35e0752..bd4abe8 100644 --- a/package.nix +++ b/package.nix @@ -7,13 +7,13 @@ }: rustPlatform.buildRustPackage rec { pname = "near-cli-rs"; - version = "0.19.0"; + version = "0.23.6"; src = fetchFromGitHub { owner = "near"; repo = "near-cli-rs"; tag = "v${version}"; - hash = "sha256-qxjxOvDLQ0eMBXAvrsCLJqVhY6/zDlDrZM4Sb2/NIbo="; + hash = "sha256-o3sz/6u9XghqCro9HMAckVfCoOM30oYOeXlaU2PtEqI="; }; cargoLock = { lockFile = "${src}/Cargo.lock";