headscale/.github/workflows
Kristoffer Dalby 5a18e91317
fix auto approver on register and new policy (#2506)
* fix issue auto approve route on register bug

This commit fixes an issue where routes where not approved
on a node during registration. This cause the auto approval
to require the node to readvertise the routes.

Fixes #2497
Fixes #2485

Signed-off-by: Kristoffer Dalby <kristoffer@tailscale.com>

* hsic: only set db policy if exist

Signed-off-by: Kristoffer Dalby <kristoffer@tailscale.com>

* policy: calculate changed based on policy and filter

v1 is a bit simpler than v2, it does not pre calculate the auto approver map
and we cannot tell if it is changed.

Signed-off-by: Kristoffer Dalby <kristoffer@tailscale.com>

---------

Signed-off-by: Kristoffer Dalby <kristoffer@tailscale.com>
2025-03-31 15:55:07 +02:00
..
build.yml run cross compile of headscale as part of build (#2270) 2024-12-10 16:26:53 +01:00
check-tests.yaml Rewrite authentication flow (#2374) 2025-02-01 09:16:51 +00:00
docs-deploy.yml Add worker reading extra_records_path from file (#2271) 2024-12-13 07:52:40 +00:00
docs-test.yml Bump deprecated github actions 2024-11-27 09:52:08 +01:00
gh-action-integration-generator.go Experimental implementation of Policy v2 (#2214) 2025-03-10 16:20:29 +01:00
gh-actions-updater.yaml chore: configure some actions to be skipped for forks (#2005) 2024-12-11 16:44:37 +01:00
lint.yml actually lint file on CI (#2018) 2024-09-05 13:37:05 +02:00
release.yml chore: configure some actions to be skipped for forks (#2005) 2024-12-11 16:44:37 +01:00
stale.yml chore: configure some actions to be skipped for forks (#2005) 2024-12-11 16:44:37 +01:00
test-integration-policyv2.yaml fix auto approver on register and new policy (#2506) 2025-03-31 15:55:07 +02:00
test-integration.yaml fix auto approver on register and new policy (#2506) 2025-03-31 15:55:07 +02:00
test.yml Set CSRF cookies for OIDC (#2328) 2025-01-08 16:29:37 +01:00
update-flake.yml chore: configure some actions to be skipped for forks (#2005) 2024-12-11 16:44:37 +01:00