Skip to content

Vercel Deploy action timeout despite cancellation #374

Description

@arnard76

Hi there 👋

We found out that Vercel Hobby Plan doesn't allow collaboration as of March 2026:
https://vercel.com/docs/deployments/troubleshoot-project-collaboration#team-configuration

My teammates would commit and the deployment (via this action) wouldn't work:
Image

My workflow code:

name: Preview app for feature branch for testing
on:
  pull_request:
    branches:
      - development
      - main
permissions: write-all
jobs:
  deploy:
    environment: Development & Testing # all of the credentials are same for production
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v5
      - name: Deploy on Vercel development URL
        uses: amondnet/vercel-action@v42.2.0 # deploy
        timeout-minutes: 10
        with:
          vercel-token: ${{ secrets.VERCEL_TOKEN }} # Required
          github-token: ${{ secrets.GITHUB_TOKEN }} # Optional
          vercel-org-id: ${{ secrets.ORG_ID}} # Required
          vercel-project-id: ${{ secrets.PROJECT_ID}} # Required

The primary issue is that the workflow run doesn't cancel when Vercel blocks the deployment. It timeouts. The default timeout for GitHub Action Job is 6 hours.

Image

6 hours can be reduced by adding:

timeout-minutes: 10 # step fails if it exceeds 30 minutes

However, it still results in wasted minutes for each workflow. It would be better if the workflow cancelled or if the default timeout was 15 minutes?

Keen to know if I'm doing something wrong? Does anyone have ideas on how to fix this?

Thanks!!

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions