This is an automated email from the ASF dual-hosted git repository.
damccorm pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/beam.git
The following commit(s) were added to refs/heads/master by this push:
new 507611f5df1 remove action (#27782)
507611f5df1 is described below
commit 507611f5df14fd7bafa3579496f46f0369a454f0
Author: magicgoody <[email protected]>
AuthorDate: Wed Aug 2 16:53:15 2023 +0600
remove action (#27782)
---
.../workflows/beam_PreCommit_Website_Stage_GCS.yml | 21 ++-------------------
1 file changed, 2 insertions(+), 19 deletions(-)
diff --git a/.github/workflows/beam_PreCommit_Website_Stage_GCS.yml
b/.github/workflows/beam_PreCommit_Website_Stage_GCS.yml
index daeb72bedff..3dc4d672001 100644
--- a/.github/workflows/beam_PreCommit_Website_Stage_GCS.yml
+++ b/.github/workflows/beam_PreCommit_Website_Stage_GCS.yml
@@ -78,25 +78,8 @@ jobs:
github_token: ${{ secrets.GITHUB_TOKEN }}
github_job: ${{ github.job }}
github_current_run_id: ${{ github.run_id }}
- - name: Find Current Pull Request
- uses: actions/github-script@v6
- id: findPr
- with:
- script: |
- // Based on https://github.com/jwalton/gh-find-current-pr
- const result = await
github.rest.repos.listPullRequestsAssociatedWithCommit({
- owner: context.repo.owner,
- repo: context.repo.repo,
- commit_sha: '${{ github.event.pull_request.head.sha ||
github.sha }}',
- });
- console.log(result);
- const pr =
- result.data.find((el) => {
- return context.payload.ref === `refs/heads/${el.head.ref}`;
- }) || result.data[0];
- const prNumber = (pr && pr.number) || context.event.issue.number;
- console.log(prNumber);
- core.setOutput('ghprbPullId', prNumber);
+ - name: Echo PR number
+ run: echo "ghprbPullId=${{ github.event.pull_request.number ||
github.event.issue.number }}" >> $GITHUB_ENV
- name: Setup self-hosted
uses: ./.github/actions/setup-self-hosted-action
with: