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

Add Vercel build comment workflow #49

Merged
merged 16 commits into from
Aug 27, 2024

Conversation

AtlantisPleb
Copy link
Contributor

@AtlantisPleb AtlantisPleb commented Aug 27, 2024

This PR adds a GitHub Actions workflow to comment on pull requests when Vercel builds fail. The workflow will automatically add a comment to the PR, providing immediate feedback to developers about build failures.

Changes:

  • Added vercel-build-comment.yml workflow file in the root directory
  • The workflow uses the patrickedqvist/wait-for-vercel-preview action to wait for Vercel builds
  • On build failure, it adds a comment to the PR using GitHub Actions

Next steps after merging:

  1. Move the vercel-build-comment.yml file to the .github/workflows/ directory
  2. Test the workflow by intentionally causing a Vercel build failure in a test PR

This change addresses the issue #48 and will help improve the development workflow by providing quick feedback on Vercel build failures.

Note: The workflow file is currently in the root directory. After merging, we'll need to move it to the .github/workflows/ directory for proper organization.

Copy link

vercel bot commented Aug 27, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
v2 ❌ Failed (Inspect) Aug 27, 2024 6:03pm

…r) (#50)

* Create file vercel-build-comment.yml

* Create file tools/update-pull-request.ts

* Create file tools/close-pull-request.ts

* Add 4 lines in index.ts

* Add 22 lines in update-pull-request.ts

* Add 24 lines in close-pull-request.ts

* Add 2 lines in InputSettings.tsx

* Create file tools/list-pull-requests.ts

* Add 2 lines in index.ts

* Remove 0 lines in list-pull-requests.ts

* Add 1 lines in InputSettings.tsx

* Add 36 lines in list-pull-requests.ts

* Remove 0 lines in index.ts
@AtlantisPleb AtlantisPleb merged commit b12f1ff into main Aug 27, 2024
1 of 2 checks passed
@AtlantisPleb AtlantisPleb deleted the add-vercel-build-comment-workflow branch August 27, 2024 18:24
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

Successfully merging this pull request may close these issues.

1 participant