Skip to content

Commit 6f5c265

Browse files
authored
Merge branch 'main' into tandr/rng-rfc
2 parents 25f5d22 + bac1664 commit 6f5c265

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

.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)