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: