tailscale / tailscale/github-action

Cannot run action on Act

Open
#120 4 comments 4 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
TypeScript
Stars
938
Forks
137
PR merge metrics
No merged PRs in 30d

Description

I would like to use act: https://github.com/nektos/act to test my actions.

However, at the tailscale step I got :
failed to connect to local tailscaled; it doesn't appear to be running (sudo systemctl start tailscaled ?)

It should no matter but on the machine running act I also have tailscale configured and running.

Here is the github flow :

name: Pull request
on:
    pull_request:
      types: [opened, synchronize, reopened, ready_for_review]
      branches:
        - main

jobs:
  preview-deployment:
    if: github.event.pull_request.draft == false
    name: preview-deployment
    runs-on: ubuntu-latest
    steps:
    - name: Checkout 
      uses: actions/checkout@v4

    - name: Setup Node
      uses: actions/setup-node@v4
      with:
        node-version-file: package.json

    - name: Install Dependencies
      run: npm install

    - name: Tailscale
      uses: tailscale/github-action@main
      with:
        oauth-client-id: ${{ secrets.TS_OAUTH_CLIENT_ID }}
        oauth-secret: ${{ secrets.TS_OAUTH_SECRET }}
        tags: tag:MySuperTag

    - uses: pulumi/actions@v5
      with:
        command: preview
        stack-name: dev
      env:
        PULUMI_ACCESS_TOKEN: ${{ secrets.PULUMI_ACCESS_TOKEN }}

Thanks in advance ! :)
Have a great day

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the tailscale/github-action@main step in the supplied workflow and reproduce it with act, focusing on the reported failure to connect to local tailscaled. Compare this with running the same workflow on GitHub Actions; done means the incompatibility is fixed or the supported behavior and limitation are documented.

Written by the indexing model from the issue text.

Assessment

Tech stack
github-actions, typescript
Domain
devops, networking
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Quiet
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.