From 3c49477384797bc85434880203739d10e97cd0f9 Mon Sep 17 00:00:00 2001 From: notohh Date: Tue, 23 Jan 2024 18:36:37 -0500 Subject: [PATCH] ci: auth with gh to get circumvent rate limit --- .woodpecker/flake-lock-update.yml | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/.woodpecker/flake-lock-update.yml b/.woodpecker/flake-lock-update.yml index 4f01361..033f878 100644 --- a/.woodpecker/flake-lock-update.yml +++ b/.woodpecker/flake-lock-update.yml @@ -10,9 +10,11 @@ when: steps: update: image: nixos/nix - commands: - - echo 'experimental-features = flakes nix-command' >> /etc/nix/nix.conf - - nix flake update + commands: | + echo 'experimental-features = flakes nix-command' >> /etc/nix/nix.conf + echo $GH_PAT >> /etc/nix/nix.conf + nix flake update + secrets: [ gh_pat ] push-changes: image: appleboy/drone-git-push settings: