Skip to content

Commit e39f2e8

Browse files
authored
tools: add read-only access in nix-changes.yml
Without it, the workflow fails on private forks. Signed-off-by: Antoine du Hamel <duhamelantoine1995@gmail.com> PR-URL: #66691 Reviewed-By: Matteo Collina <matteo.collina@gmail.com> Reviewed-By: Ulises Gascón <ulisesgascongonzalez@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com>
1 parent 782a3ac commit e39f2e8

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎.github/workflows/nix-changes.yml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ jobs:
4848
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
4949
with:
5050
fetch-depth: 2
51-
persist-credentials: false
51+
persist-credentials: true # We need read access in case we need to fetch in `Compute requisites before change` step
5252
sparse-checkout: |
5353
shell.nix
5454
tools/nix/

0 commit comments

Comments
 (0)