From 2e7e972497904fdaa87db96fd80635afcf2a8dc5 Mon Sep 17 00:00:00 2001 From: Ben Siggery Date: Tue, 16 Apr 2024 14:43:02 +0100 Subject: [PATCH] chore: comment out pr validate --- .github/workflows/test-aperture.yml | 48 ++++++++++++++--------------- 1 file changed, 24 insertions(+), 24 deletions(-) diff --git a/.github/workflows/test-aperture.yml b/.github/workflows/test-aperture.yml index ea52c3edb5..30128da24c 100644 --- a/.github/workflows/test-aperture.yml +++ b/.github/workflows/test-aperture.yml @@ -27,30 +27,30 @@ jobs: comment-id: ${{ github.event.comment.id }} reactions: eyes - - name: Validate pull request - uses: actions/github-script@v6 - id: pr_data - env: - GITHUB_TOKEN: ${{ secrets.CHANGESETS_TOKEN }} - with: - script: | - try { - const pullRequest = await github.rest.pulls.get({ - owner: context.repo.owner, - repo: context.repo.repo, - pull_number: context.issue.number, - }); - - await github.rest.issues.createComment({ - issue_number: context.issue.number, - owner: context.repo.owner, - repo: context.repo.repo, - body: errorMessage, - }); - - } catch (err) { - core.setFailed(`Request failed with error ${err}`); - } + # - name: Validate pull request + # uses: actions/github-script@v6 + # id: pr_data + # env: + # GITHUB_TOKEN: ${{ secrets.CHANGESETS_TOKEN }} + # with: + # script: | + # try { + # const pullRequest = await github.rest.pulls.get({ + # owner: context.repo.owner, + # repo: context.repo.repo, + # pull_number: context.issue.number, + # }); + + # await github.rest.issues.createComment({ + # issue_number: context.issue.number, + # owner: context.repo.owner, + # repo: context.repo.repo, + # body: errorMessage, + # }); + + # } catch (err) { + # core.setFailed(`Request failed with error ${err}`); + # } - name: Add link to build uses: actions/github-script@v6