Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,12 @@ jobs:
# Empty for tag push (checks out the tag); honored for manual dispatch
# to release an arbitrary commit.
ref: ${{ github.event.inputs.ref }}
# This working tree is baked into the image at /etc/nixos-repo (via
# box-turnkey.nix's self.outPath). Don't persist the job token as an
# http.*.extraheader in .git/config, or the dead token ships in the
# image and makes `git pull` on installed boxes prompt for creds. The
# repo is public, so `git pull` on the box works anonymously.
persist-credentials: false

# Install Nix natively + cache the /nix/store (shared with the test
# workflow so releases build the exact same way).
Expand Down
8 changes: 8 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -170,6 +170,14 @@ jobs:
# Empty for push/PR (checks out the event ref); honored for manual
# dispatch to build an arbitrary commit.
ref: ${{ github.event.inputs.ref }}
# This working tree is baked into the image at /etc/nixos-repo (via
# box-turnkey.nix's self.outPath). actions/checkout defaults to
# persisting the job's short-lived token as an http.*.extraheader in
# .git/config; baked in, that dead token makes `git pull` on installed
# boxes prompt for credentials. Don't persist it (the repo is public;
# the initial fetch still authenticates, and `git pull` on the box
# works anonymously).
persist-credentials: false

# Install Nix natively + cache the /nix/store (shared with the release
# workflow so both build images the exact same way).
Expand Down
Loading