ノート: GitHub Actionsは現在GitHub AEでベータです。
Labels allow you to send workflow jobs to any AEホストランナー that includes that label. You can use the default labels, and you can create your own custom labels.
An AEホストランナー receives a label when it is added to GitHub Actions. The label is used to indicate where it was assigned.
You can use your workflow's YAML to send jobs to a specific AEホストランナー pool. This example demonstrates how to configure a workflow to run on a label called
You can create custom labels and assign them to your AEホストランナーs at any time. Custom labels let you send jobs to particular types of runners, based on how they're labeled.
For example, if you have a job that requires a specific software package, you can create a custom label called
octocat and assign it to the runners that have the package installed. An AEホストランナー that matches all the assigned labels will then be eligible to run the job.
This example shows a job that uses multiple labels:
runs-on: [AE-runner-for-CI, octocat, linux]
These labels operate cumulatively, so an AEホストランナー's labels must match all of them for it to be eligible to process the job.