Skip to content

Commit

Permalink
allow replay.io
Browse files Browse the repository at this point in the history
  • Loading branch information
balazsorban44 committed Aug 30, 2023
1 parent 06e2657 commit 7c75a01
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/actions/issue-validator/repro-link/index.mjs

Large diffs are not rendered by default.

5 changes: 4 additions & 1 deletion .github/actions/issue-validator/src/repro-link.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,10 @@ async function hasRepro(link) {
if (!link) return false
try {
const url = new URL(link)
if (!['github.com', 'codesandbox.io'].includes(url.hostname)) return false
if (
!['github.com', 'codesandbox.io', 'app.replay.io'].includes(url.hostname)
)
return false
const { status } = await fetch(link)
// Verify that it's not a private repo/sandbox
// We allow 500, in case it's downtime on one of the services
Expand Down

0 comments on commit 7c75a01

Please sign in to comment.