Kristoffer Dalby
38da2a9625
.github: open version bump PRs as the headscale-bot App
...
Juan's PAT authored the PR, so he could not approve it.
2026-11-11 15:19:25 +01:00
Kristoffer Dalby
3a35f74873
nix: build the module on the generated options
...
settings mirrors headscale's keys one to one, headscale's checks judge the
rest, and the local CLI gets the socket from a variable instead of a file.
headscale always runs as headscale:headscale, which the module creates;
user and group are read-only, so setting either fails evaluation, and stay
only because nixpkgs' headplane module reads them. A settings.cli key
fails evaluation instead of being dropped with a warning, and the unit no
longer gets CAP_CHOWN.
nix/example-configuration.nix goes: the options carry its examples and
defaults.
Updates #1926
2026-11-11 15:02:16 +01:00
Kristoffer Dalby
0844b7649d
nix: check the policy at build time and the config before a switch
...
Store-path policy: check policy -f in system.checks.
Pre-switch: check all as the headscale user.
Adapted: no file: secret warning; groups as after activation; a new primary
group skips; the policy the unit's env selects; docs say which check covers
the policy; VM case for the unit's env.
(cherry picked from commit b6ba6e42ee )
Fixes #2898
Updates #1926
2026-11-11 15:02:16 +01:00
Kristoffer Dalby
fe908c2d5a
goreleaser: generate shipped config files, remove config-example.yaml
...
Updates #1926
2026-11-11 15:02:16 +01:00
Kristoffer Dalby
42a74821bc
docs: add generated configuration reference and example
...
Updates #1926
2026-11-11 15:02:16 +01:00
Kristoffer Dalby
8405c248e1
nix: add generated NixOS options
...
Updates #1926
2026-11-11 15:02:16 +01:00
Kristoffer Dalby
cb4ccd97c2
types: reject unknown and removed config keys
...
Fixes #1926
2026-11-11 15:02:16 +01:00
Kristoffer Dalby
5de40d9528
github: regenerate integration test list
...
Updates #3355
2026-11-11 12:06:27 +01:00
Martín Gómez
215844e5b7
integration: test nodes update-client
2026-11-05 15:51:04 +01:00
Kristoffer Dalby
c7daf6d923
.github: regenerate integration test workflow
...
Fixes #3027
Claude-Session: https://claude.ai/code/session_01RHEZM1qJ2hgndiXio7P56h
2026-11-03 15:52:52 +01:00
Kristoffer Dalby
7bd88aee79
.github: exempt milestoned issues from stale bot, stale after 45 days ( #3652 )
...
Milestone means triaged. Close message said 14 days; config is 7.
2026-11-03 15:52:47 +01:00
github-actions[bot]
2456ba1f6b
Update VOUCHED list ( #3651 )
...
https://github.com/juanfont/headscale/issues/3650#issuecomment-6601738938
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2026-11-03 13:15:31 +00:00
github-actions[bot]
152c7f262b
Update VOUCHED list
...
https://github.com/juanfont/headscale/issues/3643#issuecomment-6581488242
2026-11-03 13:51:44 +01:00
Kristoffer Dalby
eaeb6b3192
.github: regenerate integration test workflow
2026-11-02 19:15:40 +01:00
github-actions[bot]
4472cd8b83
Update VOUCHED list
...
https://github.com/juanfont/headscale/issues/3629#issuecomment-6525293776
2026-10-30 15:35:25 +01:00
Kristoffer Dalby
beb1214926
release: reject dirty sources and build artifacts
...
Fixes #3583
2026-10-29 15:39:30 +01:00
Kristoffer Dalby
b23d4dc535
.github: regenerate integration test workflow
2026-10-29 14:00:02 +01:00
github-actions[bot]
b715b9041d
.github: bump 3 action pins
2026-10-29 13:39:27 +01:00
github-actions[bot]
00f597aa6d
Update VOUCHED list
...
https://github.com/juanfont/headscale/issues/3599#issuecomment-6473763699
2026-10-29 06:58:58 +01:00
Kristoffer Dalby
2905dbfe86
ci: run race tests through a flake check
2026-10-23 18:23:53 +02:00
github-actions[bot]
1e3bbae3d1
.github: bump 1 action pins
2026-10-22 14:37:00 +02:00
Kristoffer Dalby
dcc01dc2b0
types: move TLS config under tls with legacy fallback
...
tls.cert_path, tls.key_path and tls.acme.* replace the flat keys, which
still work. Warn on them only when they turn TLS on: NixOS always sets them.
Updates #2527
2026-10-18 20:53:18 +02:00
Kristoffer Dalby
d8bcaca066
github: add TestTailscaleCert to integration workflow
...
Updates #2137
2026-10-18 20:53:18 +02:00
github-actions[bot]
362cdaeef8
Update VOUCHED list
...
https://github.com/juanfont/headscale/issues/3562#issuecomment-6249089869
2026-10-18 13:10:17 +02:00
github-actions[bot]
9314f4e778
Update VOUCHED list
...
https://github.com/juanfont/headscale/issues/3559#issuecomment-6249075866
2026-10-18 13:09:02 +02:00
github-actions[bot]
fc97593bce
Update VOUCHED list
...
https://github.com/juanfont/headscale/issues/3549#issuecomment-6193920631
2026-10-15 16:04:19 +02:00
github-actions[bot]
cee9066e91
.github: bump 3 action pins
2026-10-13 12:02:59 +02:00
Martin -nexus- Mlynář
a8d6f5be81
state: send a relogin as a whole node unless only its keys changed
...
A PeerChange patch cannot clear a peer's Expired flag or carry the
Hostinfo the relogin stored.
Fixes #3531
2026-10-09 11:44:37 +02:00
Kristoffer Dalby
c9852c43da
ci: distribute the compiled integration test binary
2026-10-09 11:41:09 +02:00
Kristoffer Dalby
47653f06fb
integration: avoid toolchain work and login waits in CI
2026-10-09 11:41:09 +02:00
Kristoffer Dalby
9de8e9103f
ci: regenerate integration test list
...
Updates #3508
2026-10-08 10:29:23 +02:00
github-actions[bot]
3e00a42bd2
Update VOUCHED list
...
https://github.com/juanfont/headscale/issues/3536#issuecomment-6033904453
2026-10-07 10:33:33 +02:00
github-actions[bot]
6d2fa015c4
Update VOUCHED list
...
https://github.com/juanfont/headscale/issues/3510#issuecomment-5890061652
2026-09-29 18:25:29 +02:00
Kristoffer Dalby
99cbba7aff
.github: run the version bump daily
...
AGENTS.md says the tool "opens one pull request a day", but the workflow
only had workflow_dispatch, so since it merged it has run zero times.
2026-09-28 11:56:25 +02:00
github-actions[bot]
3603418d70
.github: bump 13 action pins
2026-09-28 07:28:19 +02:00
Florian Preinstorfer
53113e2a67
Reformat pr-unvouched-message
2026-09-26 08:48:10 +02:00
Kristoffer Dalby
e4b4b89448
.github: vouch recent contributors
...
Merged or approved PRs since the list was seeded, plus MichaelGooden.
Updates #3388
2026-09-25 17:31:17 +02:00
Kristoffer Dalby
c3e48f039c
ci: integration-test the tailscale GitHub action against headscale
...
Stand up a nix-built headscale over self-signed TLS with embedded DERP and a
regular node joined via pre-auth, then drive the official tailscale/github-action
against it: connect over OAuth (tskey-client-) and an auth key with ping as the
success gate, and exercise its hostname, version, tailscaled-args, statedir and
args inputs.
2026-09-25 17:09:19 +02:00
Juan Font
c5dc3d4385
.github: gate PRs via mitchellh/vouch
...
Auto-close PRs from authors not listed in .github/VOUCHED.td. Issues
stay open to everyone; the close message points contributors at
CONTRIBUTING.md. Maintainers manage the list with !vouch, !denounce
and !unvouch comments, and a weekly job resyncs CODEOWNERS.
The workflows use GITHUB_TOKEN with explicit least-privilege
permissions.
2026-09-25 16:43:48 +02:00
Kristoffer Dalby
60c5f8277f
.github: fold the action version updater into tools/bump
...
The standalone workflow has failed weekly since its token secret went
missing. One bot, one credential, one pull request to review.
2026-09-25 15:52:26 +02:00
Kristoffer Dalby
57034c314a
.github: run tools/bump on demand
...
Manual dispatch only until the pull requests have been trusted for a
while; the schedule comes after.
2026-09-25 15:52:26 +02:00
Kristoffer Dalby
9d932c4427
.github: point CODEOWNERS at the real goreleaser file
...
The tracked file is .goreleaser.yml, so the .yaml rule matched nothing.
2026-09-25 15:52:26 +02:00
Kristoffer Dalby
be20f006e2
.github: delete the unused renovate config
...
Self-hosted-runner shape (repositories, platform, gitAuthor) that a
repo-level config cannot set, and nothing has run it since the workflow
was removed in 6a311f4ab .
2026-09-25 15:52:26 +02:00
Kristoffer Dalby
0c1c8bdcf4
.github: gate CI on flake.lock and flakehashes.json
...
Neither file was listed in any paths-filter, so a lockfile-only change
skipped build, check-generated, check-tests and the whole integration
matrix. Also drops integration_test/, which has never existed.
2026-09-25 15:52:26 +02:00
Kristoffer Dalby
6a9f6c3bd7
integration: pin which Hostinfo changes reach peers
...
Updates #3417
2026-09-10 13:06:13 +02:00
Kristoffer Dalby
cea9ebd105
.github/workflows: regenerate the integration test matrix
...
Updates #3410
2026-09-09 18:18:17 +02:00
Michał Wadas
f02a027d91
ci: add source metadata to container images
2026-08-24 13:46:10 +02:00
Kristoffer Dalby
6275e3a356
policy,state: authorize reauth tags against the authenticating user
...
Re-authenticating a tagged node with --advertise-tags checked the tag-owned
node, not the authenticating user, so every tag was rejected.
Fixes #3374
2026-07-28 11:55:17 +02:00
Kristoffer Dalby
fc16cc6905
state: apply a new pre-auth key's tags on re-registration
...
Re-registering a tagged node with a different key discarded the new key's
tags and left a stale auth-key reference; retag on key change and persist it.
Fixes #3370
2026-07-28 11:55:17 +02:00
Kristoffer Dalby
1ed5693fa4
state: do not expire tagged nodes on logout
...
Tagged nodes never expire, but handleLogout stamped a past expiry on them,
leaving them stuck expired and unable to re-authenticate.
Fixes #3371
2026-07-28 11:55:17 +02:00