Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot run action on Act #120

Open
PierreSnell opened this issue Apr 24, 2024 · 2 comments
Open

Cannot run action on Act #120

PierreSnell opened this issue Apr 24, 2024 · 2 comments

Comments

@PierreSnell
Copy link

PierreSnell commented Apr 24, 2024

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

@omri-shilton
Copy link

I'm also experiencing this but not on ACT, on action runner on kubernetes self hosted.

@AMD-NICK
Copy link

Same problem

screenshot_2024-08-28_21 23 56@2x

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants