Skip to content

Commit 9a705ff

Browse files
committed
Run co-pilot on 1ES KVM runner
Signed-off-by: Simon Davies <simongdavies@users.noreply.github.com>
1 parent a43f30a commit 9a705ff

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.github/workflows/copilot-setup-steps.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,8 @@ on: workflow_dispatch
66
jobs:
77
# The job MUST be called `copilot-setup-steps` or it will not be picked up by Copilot.
88
copilot-setup-steps:
9-
runs-on: ubuntu-latest
9+
# run on either intel or amd kvm runner based on run id last digit is even/odd
10+
runs-on: ${{ (endsWith(github.run_id, '0') || endsWith(github.run_id, '2') || endsWith(github.run_id, '4') || endsWith(github.run_id, '6') || endsWith(github.run_id, '8')) && fromJSON('["self-hosted", "Linux", "X64", "1ES.Pool=hld-kvm-amd"]') || fromJSON('["self-hosted", "Linux", "X64", "1ES.Pool=hld-kvm-intel"]') }}
1011

1112
# Set the permissions to the lowest permissions possible needed for your steps.
1213
# Copilot will be given its own token for its operations.

0 commit comments

Comments
 (0)