Skip to content

Commit bac1664

Browse files
simongdaviesjsturtevantCopilot
authored
Run co-pilot on 1ES KVM runner (#1126)
* Run co-pilot on 1ES KVM runner Signed-off-by: Simon Davies <simongdavies@users.noreply.github.com> * Update .github/workflows/copilot-setup-steps.yml Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> Signed-off-by: James Sturtevant <jsturtevant@gmail.com> --------- Signed-off-by: Simon Davies <simongdavies@users.noreply.github.com> Signed-off-by: James Sturtevant <jsturtevant@gmail.com> Co-authored-by: James Sturtevant <jsturtevant@gmail.com> Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
1 parent a43f30a commit bac1664

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 AMD when the run_id is even, Intel when the run_id is odd
10+
runs-on: ${{ (github.run_id % 2 == 0) && 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)