ci: auth with gh to get circumvent rate limit
Some checks failed
ci/woodpecker/cron/flake-lock-update Pipeline failed

This commit is contained in:
notohh 2024-01-23 18:36:37 -05:00
parent db9a30785a
commit 3c49477384
Signed by: notohh
GPG key ID: BD47506D475EE86D

View file

@ -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: