Commit graph

110 commits

Author SHA1 Message Date
Percy Wegmann
7bdbdbb519 action.yml: bump tailscale version to 1.88.3
Signed-off-by: Percy Wegmann <percy@tailscale.com>
2025-09-29 14:09:53 -05:00
Mario Minardi
1db1f8e300
Merge pull request #197 from tailscale/mpminardi/document-unstable
README.md: document ability to specify unstable for version
2025-09-25 09:58:49 -06:00
Mario Minardi
a8723264f7
README.md: document ability to specify unstable for version
Doucment that "unstable" is now a valid input for version.

Updates #cleanup

Signed-off-by: Mario Minardi <mario@tailscale.com>
2025-09-25 09:55:07 -06:00
Max Coulombe
6cae46e2d7
Merge pull request #195 from tailscale/max/test-target-connectivity-check
Added argument to test targets connectivity
2025-09-25 11:43:46 -04:00
Max Coulombe
2208a5a58b
Update action.yml
Co-authored-by: Mario Minardi <mario@tailscale.com>
2025-09-25 11:40:17 -04:00
mcoulombe
3eef1cc07c + added argument to test target connectivity
Update action.yml

Co-authored-by: Mario Minardi <mario@tailscale.com>
2025-09-25 10:25:14 -04:00
Max Coulombe
0263d9e6d7
Merge pull request #196 from tailscale/max/sanitize-hostnames
action: auto-sanitize default or error on invalid user-defined hostname
2025-09-23 15:36:50 -04:00
mcoulombe
dc4930bf38 action: auto-sanitize default or error on invalid user-defined hostname
Fixes #192
2025-09-23 15:02:42 -04:00
Mario Minardi
6d2f2497d7
Merge pull request #189 from zchee/version-unstable
Support `unstable` version alias
2025-09-12 08:47:56 -06:00
Koichi Shiraishi
59c4d74575
Fix inputs.version.description
Signed-off-by: Koichi Shiraishi <zchee.io@gmail.com>
2025-08-24 01:30:24 +09:00
Koichi Shiraishi
c7fc043ee0
Support unstable version alias
Signed-off-by: Koichi Shiraishi <zchee.io@gmail.com>
2025-08-24 01:13:42 +09:00
Mario Minardi
fd5642846a
Merge pull request #183 from tailscale/mpminardi/granular-scope-testing
.github/workflows: add tests for new / granular minimal OAuth scopes
2025-07-21 10:07:29 -06:00
Mario Minardi
c66619accf
.github/workflows: add tests for new / granular minimal OAuth scopes
Change the default matrix test to use an OAuth client which has the new
set of more granular minimal OAuth scopes necessary to successfully use
the action.

Add a new job that uses the previous OAuth client to ensure that we
don't break legacy clients.

Fixes https://github.com/tailscale/github-action/issues/184

Signed-off-by: Mario Minardi <mario@tailscale.com>
2025-07-04 12:27:49 -06:00
Mario Minardi
84a3f23bb4
Merge pull request #181 from tailscale/mpminardi/windows-unattended-mode
{.github/workflows,action.yml}: run windows in unattended mode
2025-06-26 09:36:38 -06:00
Mario Minardi
8fe6f78f60
{.github/workflows,action.yml}: run windows in unattended mode
Add the `--unattended` flag when running the action on windows-based
machines. This allows the action to properly connect on windows machines
that do not have full GUI support under the hood (e.g., for the current
batch of `windows-11-arm` runners).

Fixes https://github.com/tailscale/github-action/issues/180

Signed-off-by: Mario Minardi <mario@tailscale.com>
2025-06-23 10:07:15 -06:00
Max Coulombe
6986d2c82a
Merge pull request #178 from tailscale/max/add-retry
action: add retry on tailscale up to make the action more reliable
2025-05-23 17:47:38 -04:00
mcoulombe
029c99af76 action: add retry on tailscale up to make the action more reliable
Updates #177
Signed-off-by: mcoulombe <max@tailscale.com>

Co-authored-by: andrea-armstrong

* make retries configurable

* switch to c-style for loop
2025-05-23 17:42:50 -04:00
Mario Minardi
5d536117a7 action.yml: properly remove temporary files after downloading
Remove `.tgz` and `.msi` files after they have been downloaded. This was
the behaviour of the action previous to `v3.2.0`, but our logic for
caching removed the deletion of these files.

Can look at downloading these to temp folders to avoid the more complex
logic here as a follow up, but this should unblock / fix the immediate
regression.

Also, on Windows, write `tailscale.log` to the temp dir.

Also, on MacOS, delete the `tailscale` directory that was used to build the `tailscale(d)` commands.

Updates: #170

Co-authored-by: Mario Minardi <mario@tailscale.com>
Signed-off-by: Percy Wegmann <percy@tailscale.com>
2025-04-09 16:17:15 -05:00
Mario Minardi
9a0fda8cbb
Merge pull request #169 from tailscale/mpminardi/document-use-cache
README.md: document the `use-cache` input
2025-04-09 10:51:29 -06:00
Mario Minardi
91154e3930
README.md: document the use-cache input
Document the `use-cache` input added in https://github.com/tailscale/github-action/pull/166

Updates: https://github.com/tailscale/github-action/issues/87

Signed-off-by: Mario Minardi <mario@tailscale.com>
2025-04-09 10:48:25 -06:00
Mario Minardi
32856f8a74
Merge pull request #166 from palindrom615/main
Cache tailscale binary file
2025-04-09 10:47:19 -06:00
Whoemoon Jang
7af7df6221
Update Download Tailscale - Windows step not to remove tailscale.msi after installation
Co-authored-by: Mario Minardi <mminardi@shaw.ca>
2025-04-07 09:06:23 +09:00
twelsh-aw
4c25f5bef4 feat: Add optional caching to skip repeated Tailscale downloads and builds
This commit introduces a new `use-cache` input to the Tailscale GitHub Action. When set to `true`, the action will attempt to restore/install Tailscale binaries from a GitHub Actions cache, rather than always downloading or rebuilding them. If the cache is a hit, the download/build steps are
skipped, reducing network flakes and speeding up workflows. The default `false` preserves the
original behavior, ensuring full backward compatibility.
2025-04-05 10:16:16 +09:00
jang whoemoon
d954cb8727 Check sha256 checksum for cache 2025-04-03 14:01:19 +09:00
jang whoemoon
694e85d253 Cache tailscale artifact 2025-04-03 13:30:02 +09:00
Mario Minardi
09e4120d08
Merge pull request #165 from tailscale/mpminardi/pin-github-actions
.github/workflows: pin GitHub action versions
2025-04-02 16:36:32 -06:00
Mario Minardi
a31fee8af4
.github/workflows: pin GitHub action versions
Pin versions of GitHub actions that are used in our workflows.

Updates #cleanup

Signed-off-by: Mario Minardi <mario@tailscale.com>
2025-04-02 13:36:29 -06:00
kari-ts
76ab37942a
Merge pull request #162 from tailscale/kari/bump
action.yml: bump release to 1.82.0
2025-04-01 11:48:30 -07:00
kari-ts
b4a7d2da83 action.yml: bump release to 1.82.0
Signed-off-by: kari-ts <kari@tailscale.com>
2025-04-01 11:46:09 -07:00
Brian Palmer
19a6f4f99f
Merge pull request #164 from tailscale/brianp/ci-conn-check
CI: fix the connection check
2025-04-01 10:30:09 -06:00
Brian Palmer
b09fabcbed CI: fix the connection check
Checking for hello is not the best way to verify that Tailscale is connected, and it recently broke because we stopped giving ephemeral nodes access to hello.

Instead, check for connection by parsing the status output as recommended in our KB article https://tailscale.com/kb/1073/hello
2025-04-01 09:08:04 -06:00
Mario Minardi
93605f7b8f
Merge pull request #161 from tailscale/mpminardi/mac-support
{action.yml,.github}: add support for macOS
2025-03-13 16:00:11 -06:00
Mario Minardi
d32d8550d2
Merge pull request #160 from tailscale/mpminardi/windows-support
{action.yml,.github}: add support for windows
2025-03-13 15:31:08 -06:00
Mario Minardi
f0c3dac2f5
{action.yml,.github}: add support for macOS
Add support for running the action on macOS-based GitHub runners.

Updates https://github.com/tailscale/github-action/issues/157

Co-authored-by: Derek Gurchik <602444+gurchik@users.noreply.github.com>
2025-03-05 12:35:38 -07:00
Mario Minardi
5dddea1dff
{action.yml,.github}: add support for windows
Add support for running the action on windows-based GitHub runners.

Updates https://github.com/tailscale/github-action/issues/157
2025-03-03 12:37:06 -07:00
Nick O'Neill
2b498977f3
Merge pull request #151 from tailscale/nickoneill/readme-v3
README: add v3 to the action snippets
2024-12-18 13:56:44 -08:00
Nick O'Neill
2cbc2550a7 add v3 to the readme 2024-12-18 13:48:32 -08:00
Keli
8688eb839e
Merge pull request #148 from tailscale/keli/update-1.78.1
action.yml: bump tailscale version to 1.78.1
2024-12-13 09:32:02 -05:00
Keli Velazquez
aef4d1b9e2 action.yml: bump tailscale version to 1.78.1
Updates tailscale/corp#14315

Signed-off-by: Keli Velazquez <keli@tailscale.com>
2024-12-13 09:26:45 -05:00
Lee Briggs
1ec4a5d914
Merge pull request #131 from jaxxstorm/latest_version
Always pull latest version
2024-12-12 22:33:39 -08:00
Lee Briggs
cb0029737d
use json api for getting latest version 2024-12-12 12:36:42 +00:00
Naman Sood
67573e622a
README: add note about required oauth scopes (#144)
* README: add note about required oauth scopes

Fixes #143.

Signed-off-by: Naman Sood <mail@nsood.in>

* english

Signed-off-by: Naman Sood <mail@nsood.in>

---------

Signed-off-by: Naman Sood <mail@nsood.in>
2024-11-21 21:16:00 -05:00
John Vandenberg
16d7e0b781 Force timeout during connection 2024-09-09 15:16:08 -07:00
Andrea Gottardo
0893401420
Merge pull request #138 from tailscale/vbump-1721
Bump Tailscale version to v1.72.1
2024-08-28 11:41:05 -07:00
Andrea Gottardo
57133d573b
Bump Tailscale version to v1.72.1 2024-08-28 11:21:17 -07:00
Percy Wegmann
eac66e8ca4 .github/workflows: use default Tailscale version in CI
This makes sure that we test with the default version as specified in action.yml

Updates #cleanup

Signed-off-by: Percy Wegmann <percy@tailscale.com>
2024-08-14 20:10:14 -05:00
Anton Tolchanov
b2b96d3c7f action.yml: allow specifying a state directory
Also, document usage of the action with Tailnet Lock.

Fixes #132

Signed-off-by: Anton Tolchanov <anton@tailscale.com>
2024-07-10 08:37:27 -07:00
Lee Briggs
42b6960a76
update readme
Signed-off-by: Lee Briggs <lee@leebriggs.co.uk>
2024-07-07 09:52:27 -07:00
Lee Briggs
c688cd1540
Revert "don't lookup latest version"
This reverts commit 0eefde4707.
2024-07-07 09:50:18 -07:00
Lee Briggs
0eefde4707
don't lookup latest version
Signed-off-by: Lee Briggs <lee@leebriggs.co.uk>
2024-07-07 09:32:46 -07:00