tailscale / gitops-acl-action

GitOps for your Tailscale ACLs
81 stars 24 forks source link

Only cache version-cache.json between runs #7

Closed GingerGeek closed 1 year ago

GingerGeek commented 2 years ago

Currently, if you use the workflow as documented, then the same policy.hujson is restored on each run as the cache path is set as "."

This means new commits don't lead to changes actually being picked up or applied.

This PR changes the example workflow to only cache the version-cache.json file.

raggi commented 1 year ago

Thank you for this contribution!

I caught up with this issue today and prepared a PR that included this fix alongside another.