action.yml: support OAuth clients in addition to authkeys (#71)

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

Signed-off-by: Denton Gentry <dgentry@tailscale.com>
This commit is contained in:
Denton Gentry 2023-06-28 16:35:31 -07:00 committed by GitHub
parent 69556f497e
commit d7bb41ca42
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 43 additions and 24 deletions

View file

@ -18,8 +18,10 @@ jobs:
- name: Tailscale Action
uses: ./
with:
authkey: ${{ secrets.TAILSCALE_AUTHKEY }}
oauth-client-id: ${{ secrets.TS_OAUTH_CLIENT_ID }}
oauth-secret: ${{ secrets.TS_OAUTH_SECRET }}
tags: tag:ci
- name: check for hello.ipn.dev in netmap
- name: check for hello.ts.net in netmap
run:
tailscale status | grep -q hello