From fb5c02bcef4b73e8e0694ea9a032bc78c7cf91c1 Mon Sep 17 00:00:00 2001 From: Elias Segundo Antonio Date: Fri, 9 Sep 2022 14:33:19 -0500 Subject: [PATCH] Updated pr-bot-new-prs Workflow(#179) Co-authored-by: Elias Segundo --- .github/workflows/pr-bot-new-prs.yml | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/.github/workflows/pr-bot-new-prs.yml b/.github/workflows/pr-bot-new-prs.yml index b5a31ec47258..ddd0f201e8f1 100644 --- a/.github/workflows/pr-bot-new-prs.yml +++ b/.github/workflows/pr-bot-new-prs.yml @@ -25,13 +25,16 @@ jobs: process-prs: # Don't run on forks if: github.repository == 'apache/beam' - runs-on: ubuntu-latest - + runs-on: [self-hosted, ubuntu-20.04] steps: - uses: actions/checkout@v3 - - run: npm ci + - name: Setup Node + uses: actions/setup-node@v3 + with: + node-version: 16 + - name: Install pr-bot npm dependencies + run: npm ci working-directory: 'scripts/ci/pr-bot' - # Runs a set of commands using the runners shell - run: npm run processNewPrs env: