diff --git a/.github/workflows/review-app.yml b/.github/workflows/review-app.yml index 9d9598a0b..7fca3170e 100644 --- a/.github/workflows/review-app.yml +++ b/.github/workflows/review-app.yml @@ -141,21 +141,6 @@ jobs: env: APP_ALIAS: pr${{ github.event.inputs.pull_request_number }}-queue steps: - - name: Fetch pull request information - id: fetch_pr - uses: actions/github-script@v6 - with: - script: | - const pr_number = ${{ github.event.inputs.pull_request_number }}; - const { context, getOctokit } = require('@actions/github'); - const octokit = getOctokit(process.env.GITHUB_TOKEN); - const pr = await octokit.pulls.get({ - owner: context.repo.owner, - repo: context.repo.repo, - pull_number: pr_number - }); - return { pr: pr.data }; - - name: Extract branch name id: extract_branch run: | @@ -221,21 +206,6 @@ jobs: env: APP_ALIAS: pr${{ github.event.inputs.pull_request_number }}-front steps: - - name: Fetch pull request information - id: fetch_pr - uses: actions/github-script@v6 - with: - script: | - const pr_number = ${{ github.event.inputs.pull_request_number }}; - const { context, getOctokit } = require('@actions/github'); - const octokit = getOctokit(process.env.GITHUB_TOKEN); - const pr = await octokit.pulls.get({ - owner: context.repo.owner, - repo: context.repo.repo, - pull_number: pr_number - }); - return { pr: pr.data }; - - name: Extract branch name id: extract_branch run: | @@ -345,21 +315,6 @@ jobs: env: APP_ALIAS: pr${{ github.event.inputs.pull_request_number }}-front steps: - - name: Fetch pull request information - id: fetch_pr - uses: actions/github-script@v6 - with: - script: | - const pr_number = ${{ github.event.inputs.pull_request_number }}; - const { context, getOctokit } = require('@actions/github'); - const octokit = getOctokit(process.env.GITHUB_TOKEN); - const pr = await octokit.pulls.get({ - owner: context.repo.owner, - repo: context.repo.repo, - pull_number: pr_number - }); - return { pr: pr.data }; - - name: Extract branch name id: extract_branch run: | @@ -397,21 +352,6 @@ jobs: env: APP_ALIAS: pr${{ github.event.inputs.pull_request_number }}-queue steps: - - name: Fetch pull request information - id: fetch_pr - uses: actions/github-script@v6 - with: - script: | - const pr_number = ${{ github.event.inputs.pull_request_number }}; - const { context, getOctokit } = require('@actions/github'); - const octokit = getOctokit(process.env.GITHUB_TOKEN); - const pr = await octokit.pulls.get({ - owner: context.repo.owner, - repo: context.repo.repo, - pull_number: pr_number - }); - return { pr: pr.data }; - - name: Extract branch name id: extract_branch run: |