mirror of
https://github.com/tailscale/github-action.git
synced 2026-08-20 10:49:23 +00:00
No description
In release 1.16 and later, "tailscale up" will block until it can connect to tailscaled and bring the link up. There is not a need to loop any more. |
||
|---|---|---|
| .github/workflows | ||
| action.yml | ||
| LICENSE | ||
| README.md | ||
Tailscale GitHub Action
This GitHub Action connects to your Tailscale network by adding a step to your workflow.
- name: Tailscale
uses: tailscale/github-action@v1
with:
authkey: ${{ secrets.TAILSCALE_AUTHKEY }}
Subsequent steps in the Action can then access nodes in your Tailnet.
TAILSCALE_AUTHKEY is an authkey for the Tailnet to be accessed, and needs to be populated in the Secrets for your workflow. Ephemeral authkeys tend to be a good fit for GitHub runners, as they clean up their state automatically shortly after the runner finishes.
Maintainer's Notes
This repository is provided and maintained by Tailscale. The CI script in this repository uses an ephemeral authkey generated for the Tailnet owned by TailscaleGitHubActionBot.github and stored as a Secret as described above.