Skip to content

Commit e4f9312

Browse files
committed
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 57231f2 commit e4f9312

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
@@ -50,7 +50,7 @@ jobs:
5050
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
5151
with:
5252
fetch-depth: 2
53-
persist-credentials: false
53+
persist-credentials: true # We need read access in case we need to fetch in `Compute requisites before change` step
5454
sparse-checkout: |
5555
shell.nix
5656
tools/nix/

0 commit comments

Comments
 (0)