diff --git a/.github/workflows/preview.yaml b/.github/workflows/preview.yaml index aeac06cb..ac90ffc2 100644 --- a/.github/workflows/preview.yaml +++ b/.github/workflows/preview.yaml @@ -29,6 +29,7 @@ jobs: id: pr uses: actions/github-script@v7 with: + retries: 3 script: | const response = await github.rest.search.issuesAndPullRequests({ q: 'repo:${{ github.repository }} is:pr sha:${{ github.event.workflow_run.head_sha }}', @@ -40,7 +41,7 @@ jobs: return } const pullRequestNumber = items[0].number - console.info("Pull request number is", pullRequestNumber) + console.info('Pull request number is', pullRequestNumber) return pullRequestNumber # deploy