PLEASE update this file if you add new GitHub Action or change name/trigger phrase of a GitHub Action.
According to GitHub Docs, we can define a GitHub-hosted runner and a self-hosted runner as the following:
Currently, we have both GitHub-hosted and self-hosted runners for running the GitHub Actions workflows, hosted on Google Cloud Platform(GCP) Virtual Machines and Google Kubernetes Engine(GKE). The majority of our workflows that run in Ubuntu and Windows run in self-hosted runners, except for those that runs on MacOS and the Monitor Self-Hosted Runners Status workflow that monitors our GCP self-hosted runners.
runs-on tags to run in the specified operating system:[self-hosted, ubuntu-24.04, main] (also small, highmem, or highmem22 pool labels as needed)[self-hosted, windows-server-2019]macos-latestpull_request.permissions: read-all. It must be set at the top of the jobs directive.- name: Setup Node uses: actions/setup-node@v7 with: node-version: 24
name: GitHub Actions Example on: pull_request: branches: ['master'] permissions: read-all jobs: github-actions-example: runs-on: [self-hosted, ubuntu-24.04, main] steps: - name: Check out repository code uses: actions/checkout@v2 - run: echo "This job is now running on a ubuntu server hosted by Apache Beam!" - name: Setup Node uses: actions/setup-node@v7 with: node-version: 24 - name: Install npm dependencies run: npm ci working-directory: 'scripts/ci/your-path' - name: Run Node.js code run: npm run functionName env: VAR_1: my-var working-directory: 'scripts/ci/your-path'
action_required. The search will display the workflows that need to be reviewed before running. Please make sure reviewing the file that is referenced by the workflow.Phrases self-assign, close, or manage labels on an issue:
| Phrase | Effect |
|---|---|
.take-issue | Self-assign the issue |
.free-issue | Self-unassign the issue |
.close-issue | Close the issue as completed |
.close-issue not_planned | Close the issue as not-planned |
.reopen-issue | Reopen a closed issue |
.add-labels | Add comma separated labels to the issue (e.g. add-labels l1, 'l2 with spaces') |
.remove-labels | Remove comma separated labels to the issue (e.g. remove-labels l1, 'l2 with spaces') |
.set-labels | Sets comma separated labels to the issue and removes any other labels (e.g. set-labels l1, 'l2 with spaces') |
For information on the Beam CI security model, see https://cwiki.apache.org/confluence/display/BEAM/CI+Security+Model