-
Notifications
You must be signed in to change notification settings - Fork 16
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #165 from aaimio/dev
feat: support TS + new vercel comment format
- Loading branch information
Showing
24 changed files
with
7,234 additions
and
3,535 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,36 +1,36 @@ | ||
version: 2 | ||
updates: | ||
- package-ecosystem: npm | ||
directory: "/" | ||
schedule: | ||
interval: daily | ||
time: "21:00" | ||
open-pull-requests-limit: 10 | ||
ignore: | ||
- dependency-name: "@octokit/action" | ||
versions: | ||
- 3.2.3 | ||
- 3.2.6 | ||
- 3.3.1 | ||
- 3.3.2 | ||
- 3.4.0 | ||
- 3.4.1 | ||
- 3.7.1 | ||
- 3.7.3 | ||
- 3.8.0 | ||
- dependency-name: "@actions/core" | ||
versions: | ||
- 1.2.7 | ||
- dependency-name: husky | ||
versions: | ||
- 4.3.8 | ||
- 5.0.9 | ||
- 5.1.1 | ||
- 5.2.0 | ||
- 6.0.0 | ||
- dependency-name: ws | ||
versions: | ||
- 7.4.2 | ||
- dependency-name: lint-staged | ||
versions: | ||
- 10.5.3 | ||
- package-ecosystem: npm | ||
directory: "/" | ||
schedule: | ||
interval: daily | ||
time: "21:00" | ||
open-pull-requests-limit: 10 | ||
ignore: | ||
- dependency-name: "@octokit/action" | ||
versions: | ||
- 3.2.3 | ||
- 3.2.6 | ||
- 3.3.1 | ||
- 3.3.2 | ||
- 3.4.0 | ||
- 3.4.1 | ||
- 3.7.1 | ||
- 3.7.3 | ||
- 3.8.0 | ||
- dependency-name: "@actions/core" | ||
versions: | ||
- 1.2.7 | ||
- dependency-name: husky | ||
versions: | ||
- 4.3.8 | ||
- 5.0.9 | ||
- 5.1.1 | ||
- 5.2.0 | ||
- 6.0.0 | ||
- dependency-name: ws | ||
versions: | ||
- 7.4.2 | ||
- dependency-name: lint-staged | ||
versions: | ||
- 10.5.3 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
github: [aaimio] | ||
github: [aaimio] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,29 +1,33 @@ | ||
name: "Capture Vercel Preview URL" | ||
author: "Aaron Imming <aaim@protonmail.com>" | ||
description: "Capture a Vercel preview URL and feed it into your next GitHub action." | ||
name: Capture Vercel Preview URL | ||
author: Aaron Imming <aaim@protonmail.com> | ||
description: Capture a Vercel preview URL and feed it into your next GitHub action. | ||
branding: | ||
icon: "triangle" | ||
color: "black" | ||
icon: triangle | ||
color: gray-dark | ||
inputs: | ||
cancel_on_strings: | ||
description: "Cancel the action when comment contains these words (comma separated list)" | ||
description: Cancel the action when comment contains these words (comma separated list) | ||
required: false | ||
default: "Deployment in progress,Preview: Failed" | ||
default: "Deployment in progress,Preview: Failed,In Progress" | ||
GITHUB_TOKEN: | ||
description: "GitHub actions token to cancel the action in case preview URL could not be found. If not specified, the action will explicitly fail." | ||
description: >- | ||
GitHub actions token to cancel the action in case preview URL could not be | ||
found. If not specified, the action will explicitly fail. | ||
required: false | ||
default: "" | ||
preview_url_regexp: | ||
description: "Regular expression pattern to capture the preview URL. Ensure first capture group captures the preview URL." | ||
description: >- | ||
Regular expression pattern to capture the preview URL. Ensure one of the | ||
capture groups captures the preview URL. | ||
required: false | ||
default: 'Preview: \[(.*)\]' # Do use single quotes, do NOT use delimiters. | ||
default: '(?:Preview: \[?(.*)\]?|\[Visit Preview\]\(([^\s]*)\))' | ||
vercel_bot_name: | ||
description: "The name of the Vercel account commenting on pull requests." | ||
description: The name of the Vercel account commenting on pull requests. | ||
required: false | ||
default: "vercel[bot]" | ||
outputs: | ||
vercel_preview_url: | ||
description: "The preview URL for the pull request's Vercel deployment." | ||
description: The preview URL for the pull request's Vercel deployment. | ||
runs: | ||
using: "node12" | ||
main: "dist/index.js" | ||
using: node16 | ||
main: dist/index.js |
Oops, something went wrong.
9f367f7
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Successfully deployed to the following URLs:
vercel-preview-url-action-xasj – ./
vercel-preview-url-action-xasj-git-master-aaim.vercel.app
vercel-preview-url-action-xasj.vercel.app
vercel-preview-url-action-xasj-aaim.vercel.app