flake: cleanup access tokens

This commit is contained in:
Adithya 2024-10-31 11:24:24 +05:30
parent 9e83b41773
commit 3c1a5e3091
Signed by: adtya
GPG key ID: B8857BFBA2C47B9C

View file

@ -19,10 +19,10 @@ jobs:
- uses: https://github.com/cachix/install-nix-action@v27 - uses: https://github.com/cachix/install-nix-action@v27
with: with:
nix_path: nixpkgs=channel:nixos-unstable nix_path: nixpkgs=channel:nixos-unstable
github_access_token: ${{ github.token }} github_access_token: ${{ secrets.GH_PUBLIC_REPO_ACCESS_TOKEN }}
- name: Update inputs - name: Update inputs
run: | 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 - name: Commit changes
uses: https://github.com/EndBug/add-and-commit@v9 uses: https://github.com/EndBug/add-and-commit@v9
with: with: