From 145fd3602d2f923537bd465175e359a8c16898d2 Mon Sep 17 00:00:00 2001 From: Sakooooo <78461130+Sakooooo@users.noreply.github.com> Date: Mon, 6 Jan 2025 13:06:18 +0400 Subject: [PATCH] I hit the ratelimit lmao --- .woodpecker/flake-update.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.woodpecker/flake-update.yml b/.woodpecker/flake-update.yml index 0acfae0e..82f92d7c 100644 --- a/.woodpecker/flake-update.yml +++ b/.woodpecker/flake-update.yml @@ -5,7 +5,11 @@ when: steps: update: image: ghcr.io/nixos/nix:latest + environment: + GITHUB_TOKEN: + from_secret: github_token commands: + - echo 'access-tokens = github.com=$GITHUB_TOKEN' >> /etc/nix/nix.conf - nix --experimental-features 'flakes nix-command' flake update - "nix-shell -p git --run 'git config --global user.email 'bot@sako.lol' && git config --global user.name 'sako-ci' && git commit -m 'flake.lock: update' -a'" push: