From 3c1a5e3091ec43fec06d2b671a17f7e2d625ad07 Mon Sep 17 00:00:00 2001 From: Adithya Nair Date: Thu, 31 Oct 2024 11:24:24 +0530 Subject: [PATCH] flake: cleanup access tokens --- .forgejo/workflows/update-inputs.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.forgejo/workflows/update-inputs.yml b/.forgejo/workflows/update-inputs.yml index ee06a8a..69a74e7 100644 --- a/.forgejo/workflows/update-inputs.yml +++ b/.forgejo/workflows/update-inputs.yml @@ -19,10 +19,10 @@ jobs: - uses: https://github.com/cachix/install-nix-action@v27 with: nix_path: nixpkgs=channel:nixos-unstable - github_access_token: ${{ github.token }} + github_access_token: ${{ secrets.GH_PUBLIC_REPO_ACCESS_TOKEN }} - name: Update inputs run: | - nix flake update --access-tokens "github.com=${{ secrets.GH_ACCESS_TOKEN }}" + nix flake update --access-tokens "github.com=${{ secrets.GH_PUBLIC_REPO_ACCESS_TOKEN }}" - name: Commit changes uses: https://github.com/EndBug/add-and-commit@v9 with: