fix(update-flake-lock): pass github token through nix installer instead

This commit is contained in:
Youwen Wu 2025-04-19 21:27:02 -07:00
parent e9cafc0ec2
commit f30dea1502
Signed by: youwen
GPG key ID: 865658ED1FE61EC3

View file

@ -12,6 +12,8 @@ jobs:
uses: actions/checkout@v4
- name: Install Nix
uses: DeterminateSystems/nix-installer-action@main
with:
github-token: ${{ secrets.GH_TOKEN_FOR_UPDATES }}
- name: Update flake.lock
uses: DeterminateSystems/update-flake-lock@main
with:
@ -20,6 +22,3 @@ jobs:
pr-labels: |
lock
pr-assignees: youwen5
nix-options:
--option access-tokens
"github.com=${{secrets.GH_TOKEN_FOR_UPDATES}}"